Resize a picturebox

  • Thread starter Thread starter mosfet
  • Start date Start date
M

mosfet

Hi,

I am starting my first application in .NET and I need some help.
I am developping on pocket pc device and I woudld like to display a
picture and below some text.
The problem is my code is supposed to run on several platforms with
different resolutions.

So I am dynamically loading images with different size but how can I
resize my picture box in function of my picture.
 
Use the picturebox's size property to set its size to the same
dimensions as the image you are loading.
 

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

Back
Top