ImageGear for C and C++ on Linux v20.0 - Updated
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.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_set_initial_state(
        HIG_PDF_LAYER hLayer,
        AT_PDF_BOOL bState


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.

Is this page helpful?
Yes No
Thanks for your feedback.