GetStride Method (PixelFormat)
Gets the stride in bytes from a pixel format and a width..
'Declaration
Public Shared Function GetStride( _
ByVal As System.Guid, _
ByVal As System.Integer _
) As System.Integer
public static System.int GetStride(
System.Guid ,
System.int
)
Parameters
- guid
- The pixel format guid.
- width
- The width.
Return Value
The number of bytes per row.