Returns the number of pages currently available in the multi-paged bitmap.

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

Syntax

C#
public static int GetPageCount(
	FIMULTIBITMAP bitmap
)
Visual Basic (Declaration)
Public Shared Function GetPageCount ( _
	bitmap As FIMULTIBITMAP _
) As Integer
Visual C++
public:
static int GetPageCount(
	FIMULTIBITMAP bitmap
)

Parameters

bitmap
Type: FreeImageAPI..::.FIMULTIBITMAP
Handle to a FreeImage multi-paged bitmap.

Return Value

Number of pages.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also