Autosize Image Control

W

Wayne Wengert

I need to be able to display jpg images in an image control but I want to
resize the display to match the dimensions of the jpg. Does anyone have a
pointer to some information on how to accomplish this?

Wayne
 
S

Steve C. Orr [MVP, MCSD]

If you don't set the height or width properties of the Image control, it
should automatically adjust to the size of the jpg.
 
W

Wayne Wengert

Thanks Steve;

As usual, I was trying the hard way. Appreciate the education.

Wayne
 

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

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top