Returns the width of the bitmap in bytes, rounded to the next 32-bit boundary, also known as pitch or stride or scan width.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public static uint GetPitch(
	FIBITMAP dib
)
Visual Basic (Declaration)
Public Shared Function GetPitch ( _
	dib As FIBITMAP _
) As UInteger
Visual C++
public:
static unsigned int GetPitch(
	FIBITMAP dib
)

Parameters

dib
Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.

Return Value

With of the bitmap in bytes.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also