Visual Basic: PictureClip Control
Clip Property (PictureClip Control)
Returns a bitmap of the area in the PictureClip control specified by the ClipX, ClipY, ClipWidth, and ClipHeight properties. This property is read-only at run time.
Syntax
[form.]PictureClip.Clip
Remarks
Use this property to specify a random clipping region from the selected bitmap.
When assigning a Clip image to a picture control in Visual Basic, make sure that the ScaleMode property for the picture control is set to 3 (pixels). You must use pixels because the ClipHeight and ClipWidth properties that define the clipping region are measured in pixels.
Data Type
Integer