ComponentOne Bitmap for WPF
C1.WPF.Bitmap.4.5.2 Assembly / C1.WPF.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 Integer _
    ) As Byte()
    public byte[] ToByteArray( 
       out int stride
    )

    Parameters

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