ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDF_layer_get_intent
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_LAYER > IG_PDF_layer_get_intent

Glossary Item Box

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:

hLayer Layer object whose intent is obtained.
lphIntent Returns array of intent entries.
nSize Maximal size of lphIntent.
lpnLen 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.

©2012. Accusoft Corporation. All Rights Reserved.