ImageGear .NET v25.0 - Updated
GetUsageInfo Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFLayer Class : GetUsageInfo Method
The usage key in the usage dictionary entry. Possible key values are: CreatorInfo, Language, Export, Zoom, Print, View, User, PageElement.
Gets usage information from a layer object.
Syntax
'Declaration
 
Public Function GetUsageInfo( _
   ByVal key As ImGearPDFAtom _
) As ImGearPDFBasObj
'Usage
 
Dim instance As ImGearPDFLayer
Dim key As ImGearPDFAtom
Dim value As ImGearPDFBasObj
 
value = instance.GetUsageInfo(key)
public ImGearPDFBasObj GetUsageInfo( 
   ImGearPDFAtom key
)
public: ImGearPDFBasObj* GetUsageInfo( 
   ImGearPDFAtom* key
) 
public:
ImGearPDFBasObj^ GetUsageInfo( 
   ImGearPDFAtom^ key
) 

Parameters

key
The usage key in the usage dictionary entry. Possible key values are: CreatorInfo, Language, Export, Zoom, Print, View, User, PageElement.

Return Value

Returns the usage information associated with the given key in the Usage dictionary for the layer, or a Null, if the operation fails (because the layer is malformed or has no dictionary, or because the dictionary has no entry corresponding to the given key).
Remarks
A Usage dictionary entry provides more specific intended usage information than an intent entry.
See Also

Reference

ImGearPDFLayer Class
ImGearPDFLayer Members
ImGearPDFAtom Class
ImGearPDFBasObj Class