Click or drag to resize

PdfPageFromHandle Method

Creates new instance of PdfPage class from page's hadle.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public static PdfPage FromHandle(
	PdfDocument doc,
	IntPtr handle,
	int pageIndex,
	bool isParsed = true
)

Parameters

doc  PdfDocument
PdfDocument what contains this page.
handle  IntPtr
Handle to page.
pageIndex  Int32
Page index in a given document.
isParsed  Boolean  (Optional)
A value indicating whether the page content has been parsed (true) or not (false).

Return Value

PdfPage
New instance of PdfPage class
Remarks
When the instance of PdfPage class created by this method will be disposed the page will not actually unloaded. You should call the FPDF_ClosePage(IntPtr) method to unload page from the memory.
See Also