Click or drag to resize

PdfiumFPDFAvail_GetDocument Method

Get document from the availability provider.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FPDFAvail_GetDocument(
	IntPtr avail,
	string password
)

Parameters

avail  IntPtr
Handle to document availability provider returned by FPDFAvail_Create(FX_FILEAVAIL, FPDF_FILEACCESS)
password  String
Optional password for decrypting the PDF file.

Return Value

IntPtr
Handle to the document.
Remarks
After FPDFAvail_IsDocAvail(IntPtr, FX_DOWNLOADHINTS) returns TRUE, the application should call this function to get the document handle. To close the document, use FPDF_CloseDocument(IntPtr) function.
See Also