ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_xfa_is_present


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


AT_ERRCOUNT ACCUAPI IG_PDF_doc_xfa_is_present(
        HIG_PDF_DOC hDoc,    
        LPAT_PDF_BOOL lpbHasXFA


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.

Is this page helpful?
Yes No
Thanks for your feedback.