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

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

Declaration:

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

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer whose initial 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.