In This Topic
Creates a new
GcBitmap with a fragment of the image.
Syntax
'Declaration
Public Function Clip( _
ByVal As System.Drawing.Rectangle, _
Optional ByVal As System.Boolean _
) As GcBitmap
public GcBitmap Clip(
System.Drawing.Rectangle ,
System.bool
)
Parameters
- rect
- Clipping rectangle of the source image to be extracted as a new GcBitmap.
- metadataOnly
- Specifies whether to copy the image metadata only, not actual pixel data. If false, the corresponding pixel data will be copied from the current GcBitmap. If true, the pixel data of the resulting GcBitmap remain uninitialized.
See Also