M_PDFiumSharp_PDFium_FPDF_GetPageSizeByIndex - ArgusMagnus/PDFiumSharp GitHub Wiki

PDFium.FPDF_GetPageSizeByIndex Method

Get the size of the page at the given index.

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

Syntax

C#

public static bool FPDF_GetPageSizeByIndex(
	FPDF_DOCUMENT document,
	int page_index,
	out double width,
	out double height
)

Parameters

 

document
Type: PDFiumSharp.Types.FPDF_DOCUMENT
Handle to document.
page_index
Type: System.Int32
width
Type: System.Double
Pointer to a double to receive the page width (in points).
height
Type: System.Double
Pointer to a double to receive the page height (in points).

Return Value

Type: Boolean

See Also

Reference

PDFium Class
PDFiumSharp Namespace
PdfPage.Size

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