FPDFAvail_GetDocument method
Get document from the availability provider.
avail - handle to document availability provider. password - password for decrypting the PDF file. Optional.
Returns a handle to the document.
When FPDFAvail_IsDocAvail() returns TRUE, call FPDFAvail_GetDocument() to retrieve the document handle. See the comments for FPDF_LoadDocument() regarding the encoding for |password|.
Implementation
FPDF_DOCUMENT FPDFAvail_GetDocument(
FPDF_AVAIL avail,
FPDF_BYTESTRING password,
) {
return _FPDFAvail_GetDocument(avail, password);
}