Export (0) Print
Expand All
Expand Minimize

Image Control for Visual Basic 6.0 Users 

The Image control in Visual Basic 6.0 has no direct equivalent in Visual Basic 2005. The Image control is a lightweight control; Visual Basic 2005 does not support lightweight controls.

Upgrading the Stretch Property

The properties, methods, and events for the Image control are a subset of those for the PictureBox control (with the exception of the Stretch property). For more information, see PictureBox Control for Visual Basic 6.0 Users.

The following table shows the mapping between the Stretch property and the equivalent for the Visual Basic 2005 PictureBox control.

Stretch Property Equivalents

Visual Basic 6.0 Visual Basic 2005 Equivalent

Stretch = False

PictureBoxSizeMode = Normal

Stretch = True

PictureBoxSizeMode = StretchImage

Upgrade Notes

When a Visual Basic 6.0 application is upgraded to Visual Basic 2005, any Image controls are upgraded to PictureBox controls.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft