ToByteArray(Rectangle) Method
Stores a rectangular area of the image to a byte array.
public System.byte[] ToByteArray(
System.Drawing.Rectangle
)
'Declaration
Public Overloads Function ToByteArray( _
ByVal As System.Drawing.Rectangle _
) As System.Byte()
Parameters
- srcRect
- The source rectangle within the image.