ImageGear .NET v25.2 - Updated
CreateDictionary Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFDocument Class : CreateDictionary Method
Array of layers to be members of the dictionary.
The visibility policy that determines the visibility of content with respect to the ON/OFF state of the layers listed in the dictionary.
Creates a new optional-content membership dictionary object in the given document for the given layers and visibility policy.
Syntax
'Declaration
 
Public Function CreateDictionary( _
   ByVal layers() As ImGearPDFLayer, _
   ByVal visibilityPolicy As ImGearPDFOCMDVisPolicy _
) As ImGearPDFDictionary
'Usage
 
Dim instance As ImGearPDFDocument
Dim layers() As ImGearPDFLayer
Dim visibilityPolicy As ImGearPDFOCMDVisPolicy
Dim value As ImGearPDFDictionary
 
value = instance.CreateDictionary(layers, visibilityPolicy)

Parameters

layers
Array of layers to be members of the dictionary.
visibilityPolicy
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.
Remarks
To add a layer to the existing dictionary, get the current layers list, modify it, then create a new dictionary with the new list of layers.
See Also

Reference

ImGearPDFDocument Class
ImGearPDFDocument Members
ImGearPDFDictionary Class
ImGearPDFLayer Class
ImGearPDFOCMDVisPolicy Enumeration

Is this page helpful?
Yes No
Thanks for your feedback.