ImageGear for C and C++ on Windows v20.3 - Updated
IG_PDF_layer_set_intent
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_set_intent

This function sets the Intent entry in a layer's dictionary.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_set_intent(
        HIG_PDF_LAYER hLayer,
        LPHIG_PDF_ATOM lphIntent,
        UINT nLen
);

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer object whose intent is set.
lphIntent LPHIG_PDF_ATOM New Intent entry value, an array of intent entries (atoms).
nLen UINT Number of intent entries in lphIntent.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Intent is an atom value broadly describing the intended use, either View or Design. A layer's content is considered to be optional (that is, the layer's state is considered in its visibility) if any intent in its list matches an intent of the context. The intent list of the context is usually set from the intent list of the document configuration.

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