Click or drag to resize

PdfiumFPDF_GetPageSizeByIndex Method

Get the size of a page by index.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDF_GetPageSizeByIndex(
	IntPtr document,
	int page_index,
	out double width,
	out double height
)

Parameters

document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String) function.
page_index  Int32
Page index, zero for the first page.
width  Double
Pointer to a double value receiving the page width (in points).
height  Double
Pointer to a double value receiving the page height (in points).

Return Value

Boolean
True for success. False for error (document or page not found)
See Also