ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFLayer Class / SetUsageInfo Method
The usage key in the usage dictionary entry. Possible key values are: CreatorInfo, Language, Export, Zoom, Print, View, User, PageElement.
The usage information to associate with the key.




In This Topic
    SetUsageInfo Method
    In This Topic
    Sets a Usage dictionary entry in a layer object.
    Syntax
    'Declaration
     
    Public Sub SetUsageInfo( _
       ByVal key As ImGearPDFAtom, _
       ByVal value As ImGearPDFBasObj _
    ) 
    'Usage
     
    Dim instance As ImGearPDFLayer
    Dim key As ImGearPDFAtom
    Dim value As ImGearPDFBasObj
     
    instance.SetUsageInfo(key, value)
    public void SetUsageInfo( 
       ImGearPDFAtom key,
       ImGearPDFBasObj value
    )
    public: void SetUsageInfo( 
       ImGearPDFAtom* key,
       ImGearPDFBasObj* value
    ) 
    public:
    void SetUsageInfo( 
       ImGearPDFAtom^ key,
       ImGearPDFBasObj^ value
    ) 

    Parameters

    key
    The usage key in the usage dictionary entry. Possible key values are: CreatorInfo, Language, Export, Zoom, Print, View, User, PageElement.
    value
    The usage information to associate with the key.
    Remarks
    The entry associates usage information with an entry key for retrieval. If a dictionary does not exist, the method creates one.

    A Usage dictionary entry provides more specific intended usage information than an intent entry.

    The usage value can act as a kind of metadata, describing the sort of things that belong to the layer: for example, text in French, fine detail on a map, or a watermark. The usage values can also be used by the AutoState mechanism to make decisions about what layers should be on and what layers should be off.

    See Also