ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDF_layer_has_usage_info
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_has_usage_info

This function verifies whether a layer object is associated with a Usage dictionary.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_has_usage_info(
        HIG_PDF_LAYER hLayer,
        LPAT_PDF_BOOL lpbHasUsage
);

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer object.
lpbHasUsage LPAT_PDF_BOOL Returns TRUE if the layer has a Usage dictionary; FALSE otherwise.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.