Document Solutions for PDF
GrapeCity.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap Class / ToByteArray Method / ToByteArray(Rectangle) Method
The source rectangle within the image.

In This Topic
    ToByteArray(Rectangle) Method
    In This Topic
    Stores a rectangular area of the image to a byte array.
    Syntax
    'Declaration
     
    Public Overloads Function ToByteArray( _
       ByVal srcRect As System.Drawing.Rectangle _
    ) As System.Byte()
    public System.byte[] ToByteArray( 
       System.Drawing.Rectangle srcRect
    )

    Parameters

    srcRect
    The source rectangle within the image.
    See Also