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
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Number of appearance states. |
IsReadOnly | bool | Read | Gets the is read only. |
IsFixedSize | bool | Read | Always false (the dictionary is mutable). |
IsSynchronized | bool | Read | Always false: callers serialise their own access. |
SyncRoot | object | Read | Sentinel object for ICollection.SyncRoot-style locking. |
Keys | ICollection<string> | Read | Gets the keys. |
Values | ICollection<XForm> | Read | Gets the values. |
Methods
| Signature | Description |
|---|---|
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. |