 | 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.81.2704
Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.81.2704
Syntaxpublic static PdfPage FromHandle(
PdfDocument doc,
IntPtr handle,
int pageIndex,
bool isParsed = true
)
Public Shared Function FromHandle (
doc As PdfDocument,
handle As IntPtr,
pageIndex As Integer,
Optional isParsed As Boolean = true
) As PdfPage
public:
static PdfPage^ FromHandle(
PdfDocument^ doc,
IntPtr handle,
int pageIndex,
bool isParsed = true
)
static member FromHandle :
doc : PdfDocument *
handle : IntPtr *
pageIndex : int *
?isParsed : bool
(* Defaults:
let _isParsed = defaultArg isParsed true
*)
-> PdfPage
public static PdfPage FromHandle(
PdfDocument doc,
IntPtr handle,
int pageIndex,
boolean isParsed = true
)
Patagames.Pdf.Net.PdfPage.FromHandle = function(doc, handle, pageIndex, isParsed);
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:
PdfPageNew instance of PdfPage class
RemarksWhen 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