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

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

Declaration:

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

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer whose current state is set.
bState AT_PDF_BOOL New state.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.