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

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

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_set_initial_state(
        HIG_PDF_LAYER hLayer,
        AT_PDF_BOOL bState
);

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer whose initial state is set.
bState AT_PDF_BOOL The new state.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.