ImageGear for C and C++ on Windows v19.6 - Updated
IG_PDF_doc_xfa_is_present
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_xfa_is_present

IG_PDF_doc_xfa_is_present

This function returns true if a document contains XFA content (dynamic or static), and false otherwise.

Declaration:

AT_ERRCOUNT ACCUAPI IG_PDF_doc_xfa_is_present(
        HIG_PDF_DOC hDoc,    
        LPAT_PDF_BOOL lpbHasXFA
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC The document from which the result is obtained.
lpbHasXFA LPAT_PDF_BOOL A pointer to a Boolean value indicating whether the document contains XFA content.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.