 | PdfiumFPDFAvail_IsFormAvail Method |
Check whether Form data is ready for init, if not, get download hints.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IsFormAvailableResults FPDFAvail_IsFormAvail(
IntPtr avail,
FX_DOWNLOADHINTS hints
)
Public Shared Function FPDFAvail_IsFormAvail (
avail As IntPtr,
hints As FX_DOWNLOADHINTS
) As IsFormAvailableResults
public:
static IsFormAvailableResults FPDFAvail_IsFormAvail(
IntPtr avail,
FX_DOWNLOADHINTS^ hints
)
static member FPDFAvail_IsFormAvail :
avail : IntPtr *
hints : FX_DOWNLOADHINTS -> IsFormAvailableResults
public static IsFormAvailableResults FPDFAvail_IsFormAvail(
IntPtr avail,
FX_DOWNLOADHINTS hints
)
Patagames.Pdf.Pdfium.FPDFAvail_IsFormAvail = 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
IsFormAvailableResults
Non-zero for Form data is fully available, 0 for Form data not yet available.
Details: -1 - error, the input parameter not correct, such as hints is null.
0 - data not available
1 - data available
2 - no form data.
Remarks
This function call be called only after
FPDFAvail_GetDocument(IntPtr, String) is 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. It is recommend to call
{0} Overload
after the function returns non-zero value.
See Also