ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects > General Objects > IGPDFLayer Object > IGPDFLayer Methods > SetUsageInfo Method |
Sets a Usage dictionary entry in a layer object. 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.
SetUsageInfo(UsageKey As IGPDFAtom, UsageInfo As IIGPDFBasObj)
Name | Description |
---|---|
UsageKey |
The usage key in the usage dictionary entry. Possible key values are:
|
UsageInfo | The usage information to associate with the key. |
None