 | PdfiumFPDFAvail_IsPageAvail Method |
Check whether a page 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_IsPageAvail(
IntPtr avail,
int page_index,
FX_DOWNLOADHINTS hints
)
Public Shared Function FPDFAvail_IsPageAvail (
avail As IntPtr,
page_index As Integer,
hints As FX_DOWNLOADHINTS
) As Boolean
public:
static bool FPDFAvail_IsPageAvail(
IntPtr avail,
int page_index,
FX_DOWNLOADHINTS^ hints
)
static member FPDFAvail_IsPageAvail :
avail : IntPtr *
page_index : int *
hints : FX_DOWNLOADHINTS -> bool
public static boolean FPDFAvail_IsPageAvail(
IntPtr avail,
int page_index,
FX_DOWNLOADHINTS hints
)
Patagames.Pdf.Pdfium.FPDFAvail_IsPageAvail = function(avail, page_index, hints);
Parameters
- avail IntPtr
- Handle to document availability provider returned by FPDFAvail_Create(FX_FILEAVAIL, FPDF_FILEACCESS)
- page_index Int32
- Index number of the page. 0 for the first page.
- 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
This function call be called only after
FPDFAvail_GetDocument(IntPtr, String) if called.
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 perform page loading.
See Also