ComponentOne Bitmap for UWP
C1.UWP.Bitmap Assembly / C1.Xaml.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