ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDF_layer_set_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_set_intent

Glossary Item Box

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:

hLayer Layer object whose intent is set.
lphIntent New Intent entry value, an array of intent entries (atoms).
nLen 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.

©2012. Accusoft Corporation. All Rights Reserved.