Document Solutions for PDF
DS.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / ToGcBitmap Method / ToGcBitmap(Rectangle,Boolean) Method
The source rectangle within the image.
Indicates if all pixels should be converted from premultiplied alpha format or to opaque format with alpha = 255.

In This Topic
    ToGcBitmap(Rectangle,Boolean) Method
    In This Topic
    Stores a rectangular area of the image to a GrapeCity.Documents.Imaging.GcBitmap.
    Syntax
    'Declaration
     
    Public Overloads Function ToGcBitmap( _
       ByVal srcRect As System.Drawing.Rectangle, _
       Optional ByVal updatePixelFormat As System.Boolean _
    ) As GcBitmap
    public GcBitmap ToGcBitmap( 
       System.Drawing.Rectangle srcRect,
       System.bool updatePixelFormat
    )

    Parameters

    srcRect
    The source rectangle within the image.
    updatePixelFormat
    Indicates if all pixels should be converted from premultiplied alpha format or to opaque format with alpha = 255.
    See Also