picturebox image does not have a Location ??

D

**Developer**

During debug I noticed that a picturebox image does not have a Location

Is the image object always located at the upper left of the clientsize of
the picturebox.

If the picturebox clientsize is bigger then the image size the background
always shows at the lower and/or right??

If the clientsize is smaller the clipping occurs at the right and/or
bottom??



Thanks
 
W

WRH

Hello
Look at eg pictureBox1.SizeMode; the default is PictureBoxSizeMode.Normal
(origin of image upper left) but you can change it to CenterImage,
StretchImage
etc..
 
D

**Developer**

I'll check that out.

Thanks

WRH said:
Hello
Look at eg pictureBox1.SizeMode; the default is PictureBoxSizeMode.Normal
(origin of image upper left) but you can change it to CenterImage,
StretchImage
etc..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top