ImageGear Professional v18.1 > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_layer_set_intent( HIG_PDF_LAYER hLayer, LPHIG_PDF_ATOM lphIntent, UINT nLen ); |
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. |
Error count.
This function does not process image pixels.
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.