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

Glossary Item Box

Creates a new optional-content membership dictionary object in the given document for the given layers and visibility policy.

Declaration:

  Copy Code
IG_PDF_dictionary_create(
        HIG_PDF_DOC hDoc,
        LPHIG_PDF_LAYER hLayers,
        AT_INT nLayersCount,
        AT_INT policy, 
        LPHIG_PDF_DICTIONARY lphDictionary);

Arguments:

hDoc The document in which the dictionary is used.
hLayers Array of layers to be the members of the dictionary.
nLayersCount The number of layers.
policy The visibility policy that determines the visibility of content with respect to the ON/OFF state of the layers listed in the dictionary.
lphDictionary The newly created dictionary object.

Return Value:

The newly created dictionary object, or NULL if no layers are supplied.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

To add layer to the existing dictionary, get the current layers' list, modify it, and then create a new dictionary with the new list of layers.

©2012. Accusoft Corporation. All Rights Reserved.