AppearanceDictionary

AppearanceDictionary

Overview

AppearanceDictionary is a class in Aspose.PDF FOSS for .NET. Inherits from: IDictionary<string, XForm>.

Appearance-stream dictionary on an annotation (/AP entry): maps appearance-state name -> XForm.

This class provides 12 methods for working with AppearanceDictionary objects in .NET programs. Available methods include: Add, Clear, Contains, ContainsKey, CopyTo, GetEnumerator, Remove, TryGetValue. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Count, IsFixedSize, IsReadOnly, IsSynchronized, Keys, SyncRoot, and 1 more.

Properties

NameTypeAccessDescription
CountintReadNumber of appearance states.
IsReadOnlyboolReadGets the is read only.
IsFixedSizeboolReadAlways false (the dictionary is mutable).
IsSynchronizedboolReadAlways false: callers serialise their own access.
SyncRootobjectReadSentinel object for ICollection.SyncRoot-style locking.
KeysICollection<string>ReadGets the keys.
ValuesICollection<XForm>ReadGets the values.

Methods

SignatureDescription
Add(key: string, value: XForm)Calls Add on this AppearanceDictionary instance.
Add(item: KeyValuePair<string, XForm>)Add via key/value pair (IDictionary contract).
Add(key: object, value: object)Add via object/object (loose-typed).
Clear()Calls Clear on this AppearanceDictionary instance.
Contains(item: KeyValuePair<string, XForm>)Calls Contains on this AppearanceDictionary instance.
ContainsKey(key: string)Calls ContainsKey on this AppearanceDictionary instance.
CopyTo(array: KeyValuePair<string, XForm>[], arrayIndex: int)Calls CopyTo on this AppearanceDictionary instance.
CopyTo(array: XForm[], index: int)Copy just the appearance XForms into array (value-only CopyTo overload).
GetEnumerator()Calls GetEnumerator on this AppearanceDictionary instance.
Remove(key: string)Calls Remove on this AppearanceDictionary instance.
Remove(item: KeyValuePair<string, XForm>)
TryGetValue(key: string, value: XForm)Calls TryGetValue on this AppearanceDictionary instance.

See Also