ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / ToByteArray Method / ToByteArray(Int32) Method
Returns the stride (bytes per row) of the image.

In This Topic
    ToByteArray(Int32) Method
    In This Topic
    Stores the image buffer to a byte array with the same stride (bytes per row).
    Syntax
    'Declaration
     
    Public Overloads Function ToByteArray( _
       ByRef stride As System.Integer _
    ) As System.Byte()
    public System.byte[] ToByteArray( 
       out System.int stride
    )

    Parameters

    stride
    Returns the stride (bytes per row) of the image.
    See Also