ComponentOne Bitmap for UWP
C1.UWP.DX 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 System.Guid, _
       ByVal width As System.Integer _
    ) As System.Integer
    public static System.int GetStride( 
       System.Guid guid,
       System.int width
    )

    Parameters

    guid
    The pixel format guid.
    width
    The width.

    Return Value

    The number of bytes per row.
    See Also