Chapter 9 - VB.Net by Schneider
30
Picture Box at Run Time
•
A picture also can be assigned to a picture
box control at run time:
•
picBox.Image = Image.FromFile(filespec)
•
The SizeMode property can be altered at run
time with a statement such as
•
picBox.SizeMode = PictureBoxSizeMode.AutoSize