ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / ToByteArray Method / ToByteArray(ImageRect) Method
The source rectangle within the image.

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

    Parameters

    srcRect
    The source rectangle within the image.
    See Also