ImageGear Professional for Windows ActiveX
CreateDictionary Method

Description:

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

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

Syntax:

IIGPDFDoc.CreateDictionary(
        /*[in]*/ IIGPDFLayerArray* pArrLayers, 
        /*[in]*/ LONG nVisPolicy, 
        /*[out,retval]*/ IIGPDFDictionary ** ppPDFDictionary)

Parameters:

Name Description
pArrLayers Array of layers to be the members of the dictionary.
nVisPolicy The visibility policy that determines the visibility of content with respect to the ON/OFF state of the layers listed in the dictionary.

Return Value:

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

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback