Click or drag to resize

PdfiumFPDFPage_New Method

Construct an empty page

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

Parameters

document  IntPtr
Handle to document. Returned by FPDF_LoadDocument(String, String), FPDF_LoadMemDocument(Byte, Int32, String) or FPDF_LoadCustomDocument(FPDF_FILEACCESS, String) functions.
page_index  Int32
The index of a page
width  Double
The page width
height  Double
The page height.

Return Value

IntPtr
The handle to a page. IntPtr.Zero if any error occurs.
Remarks
Loaded page can be deleted by FPDFPage_Delete(IntPtr, Int32) functions
See Also