ComponentOne Bitmap for UWP
ToByteArray(ImageRect) Method

C1.UWP.Bitmap Assembly > C1.Xaml.Bitmap Namespace > C1Bitmap Class > ToByteArray Method : ToByteArray(ImageRect) Method
The source rectangle within the image.
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

Reference

C1Bitmap Class
C1Bitmap Members
Overload List