ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.WIC Namespace / PixelFormat Class / GetStride Method
The pixel format guid.
The width.

In This Topic
    GetStride Method (PixelFormat)
    In This Topic
    Gets the stride in bytes from a pixel format and a width..
    Syntax
    'Declaration
     
    Public Shared Function GetStride( _
       ByVal guid As Guid, _
       ByVal width As Integer _
    ) As Integer
    public static int GetStride( 
       Guid guid,
       int width
    )

    Parameters

    guid
    The pixel format guid.
    width
    The width.

    Return Value

    The number of bytes per row.
    See Also