M_PDFiumSharp_PDFium_FPDF_GetPageCount - ArgusMagnus/PDFiumSharp GitHub Wiki

PDFium.FPDF_GetPageCount Method

Get total number of pages in the document.

Namespace: PDFiumSharp
Assembly: PDFiumSharp (in PDFiumSharp.dll) Version: 1.0.0

Syntax

C#

public static int FPDF_GetPageCount(
	FPDF_DOCUMENT document
)

Parameters

 

document
Type: PDFiumSharp.Types.FPDF_DOCUMENT
Handle to document.

Return Value

Type: Int32
Total number of pages in the document.

See Also

Reference

PDFium Class
PDFiumSharp Namespace
PdfPageCollection.Count
PdfDocument.Pages

⚠️ **GitHub.com Fallback** ⚠️