Returns the width of the bitmap in pixel units.

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

Syntax

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

Parameters

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

Return Value

With of the bitmap.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also