Link to home
Start Free TrialLog in
Avatar of mlcktmguy
mlcktmguyFlag for United States of America

asked on

How to Stretch Background Picture?

I use a PictureBox as a container for one 'panel' on an MDI form.  The graphic (jpg) that I want to use as the backround picture is shorter than the height of the panel.  Thus when I load the graphic it only shows a background for the top 3/4 of the picturebox and then stops.  Are there any options to set which will 'stretch' the graphic to fit the entire area of the picture box.

When I have preiously placed pictures in an image control on the form there was s 'stretch' property to accomodate this.  There is no corresponding property on a picturebox control.

Any suggestions?
ASKER CERTIFIED SOLUTION
Avatar of PaulHews
PaulHews
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial