ComponentOne Bitmap for WPF
GetStride Method (PixelFormat)

C1.WPF.DX.4 Assembly > C1.Util.DX.WIC Namespace > PixelFormat Class : GetStride Method
The pixel format guid.
The width.
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

Reference

PixelFormat Class
PixelFormat Members