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

This function returns the Catalog dictionary of the PDF document (this Catalog dictionary is the root of a PDF document`s object hierarchy).

Declaration:

 
Copy Code
AT_VOID IG_PDF_doc_get_root(
        HIG_PDF_DOC hDoc,
        LPHIG_PDF_BASOBJ lphRootDictionary
);

Arguments:

Name Type Description
hDoc HIG_PDF_DOC The PDF document.
lphRootDictionary LPHIG_PDF_BASOBJ The resulting Catalog dictionary.

Return Value:

None

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

See also the PDF Reference, ch.3.6.