Height, Width Properties (PictureClip Control)

       

Return the height and width (in pixels) of a bitmap contained in the control. These properties are not available at design time and are read-only at run time.

Syntax

[form.]PictureClip.Height

[form.]PictureClip.Width

Remarks

These properties are only valid when the control contains a bitmap.

You can load a bitmap into a PictureClip control at design time using the Properties sheet. In Visual Basic, you can also load a bitmap into a PictureClip control at run time by using the LoadPicture function.

Data Type

Integer