ImageGear for C and C++ on Linux v18.8 - Updated
IG_PDF_layer_get_current_state
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_get_current_state

This function gets the current ON-OFF state of the layer object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_get_current_state(
        HIG_PDF_LAYER hLayer,
        LPAT_PDF_BOOL lpbState
);

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer whose current state is obtained.
lpbState LPAT_PDF_BOOL Returns TRUE if the state is ON; FALSE if it is OFF.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.