PixelFormatUtilitiesRowStride Method (PixelFormat, Int32) |
Calculates the width in bytes of a row in an image.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static int RowStride(
PixelFormat pf,
int w
)
Public Shared Function RowStride (
pf As PixelFormat,
w As Integer
) As Integer
Parameters
- pf
- Type: Atalasoft.ImagingPixelFormat
An input PixelFormat - w
- Type: SystemInt32
The width of an image in pixels
Return Value
Type:
Int32See Also