Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / BilevelBitmap Class / Clip Method
Clipping rectangle of the source image to be extracted as a new BilevelBitmap.
Specifies whether to copy the image metadata only, not actual pixel data. If false, the corresponding pixel data will be copied from the current BilevelBitmap. If true, the pixel data of the resulting BilevelBitmap remain uninitialized.

In This Topic
    Clip Method (BilevelBitmap)
    In This Topic
    Creates a new BilevelBitmap with a fragment of the image.
    Syntax
    'Declaration
     
    Public Function Clip( _
       ByVal rect As System.Drawing.Rectangle, _
       Optional ByVal metadataOnly As System.Boolean _
    ) As BilevelBitmap
    public BilevelBitmap Clip( 
       System.Drawing.Rectangle rect,
       System.bool metadataOnly
    )

    Parameters

    rect
    Clipping rectangle of the source image to be extracted as a new BilevelBitmap.
    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 BilevelBitmap. If true, the pixel data of the resulting BilevelBitmap remain uninitialized.
    See Also