Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

height/width of picture box picture

Status
Not open for further replies.

slowATthought

Programmer
Dec 2, 2003
56
US
Quick question: How do you get the height or width of an image in a picture box? Width/Height/ScaleWidth/ScaleHeight won't work, because I need the height and width of the image, not the picture box object. I tried .image.height/.image.width and .picture.height/.picture.width, but they gave me the same value for every picture box, and it was way too big.

Thanks for any/all help.
 
Never mind. I fixed the problem by ignoring it. I ended up not needing it. But if anyone would like to answer for the sake of knowing, that's fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top