 | PdfiumFPDFAvail_IsDocAvail Method |
Check whether the document is ready for loading, if not, get download hints.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFAvail_IsDocAvail(
IntPtr avail,
FX_DOWNLOADHINTS hints
)
Public Shared Function FPDFAvail_IsDocAvail (
avail As IntPtr,
hints As FX_DOWNLOADHINTS
) As Boolean
public:
static bool FPDFAvail_IsDocAvail(
IntPtr avail,
FX_DOWNLOADHINTS^ hints
)
static member FPDFAvail_IsDocAvail :
avail : IntPtr *
hints : FX_DOWNLOADHINTS -> bool
public static boolean FPDFAvail_IsDocAvail(
IntPtr avail,
FX_DOWNLOADHINTS hints
)
Patagames.Pdf.Pdfium.FPDFAvail_IsDocAvail = function(avail, 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
BooleanTrue 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