Click or drag to resize

PdfPageFromHandle Method

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

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

Parameters

doc
Type: Patagames.Pdf.NetPdfDocument
PdfDocument what contains this page.
handle
Type: SystemIntPtr
Handle to page.
pageIndex
Type: SystemInt32
Page index in a given document.
isParsed (Optional)
Type: SystemBoolean
A value indicating whether the page content has been parsed (true) or not (false).

Return Value

Type: 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