Click or drag to resize

PdfiumFPDFAvail_IsDocAvail Method

Check whether the document is ready for loading, if not, get download hints.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFAvail_IsDocAvail(
	IntPtr avail,
	FX_DOWNLOADHINTS hints
)

Parameters

avail  IntPtr
Handle to document availability provider returned by FPDFAvail_Create(FX_FILEAVAIL, FPDF_FILEACCESS)
hints  FX_DOWNLOADHINTS
Pointer to a download hints interface, receiving generated hints

Return Value

Boolean
True for page is fully available, False for page not yet available.
Remarks
The application should call this function whenever new data arrived, and process all the generated download hints if any, until the function returns non-zero value. Then the application can call FPDFAvail_GetDocument(IntPtr, String) to get a document handle.
See Also