| PdfPageFromHandle Method |
Creates new instance of PdfPage class from page's hadle.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax public 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 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
PdfPageNew 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