ImageGear for C and C++ on Linux v20.0 - Updated
IG_PDF_layer_get_intent
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_get_intent

This function gets the intent list for a layer.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_layer_get_intent(
        HIG_PDF_LAYER hLayer,
        LPHIG_PDF_ATOM lphIntent,
        UINT nSize,
        LPUINT lpnLen
);

Arguments:

Name Type Description
hLayer HIG_PDF_LAYER Layer object whose intent is obtained.
lphIntent LPHIG_PDF_ATOM Returns array of intent entries.
nSize UINT Maximal size of lphIntent.
lpnLen LPUINT Actual number of intent entries copied to 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.