AppearanceDictionary

Inheritance: java.lang.Object, com.aspose.pdf.AppearanceDictionary

All Implemented Interfaces: com.aspose.ms.System.Collections.Generic.IGenericCollection<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XForm », com.aspose.ms.System.Collections.Generic.IGenericDictionary< String, XForm >, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XForm », com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XForm », Iterable <com.aspose.ms.System.Collections.Generic.KeyValuePair< String, XForm »

public final class AppearanceDictionary extends Object implements com.aspose.ms.System.Collections.Generic.IGenericDictionary< String , XForm >

Annotation appearance dictionary specifying how the annotation shall be presented visually on the page.

Methods

MethodDescription
addAdds an element with the provided key and value.
addItemAdds pair with key and value into the dictionary.
addItemAdd X form for specifed key.
clearRemoves all elements from the dictionary.
containsItemChecks does specified key-value pair is contained in the dictionary.
containsKeyDetermines does this dictionary contasins specified key.
copyTo/ * / * Returns an IDictionaryEnumerator object for the dictionary. / * / * / *
copyToTArrayCopies the elements of the ICollection to an Array, starting at a particular Array index.
get_ItemRepresents convenient form for getting appearance streams.
getDictGets pdf dictionary
getKeys_Gets keys of the dictionary. If appearance dictionary has subditionaries, then {@code Keys} contains (N|R|D).state values, where N - normal appearance, R - rollover appearance, D - down appearance and state - the name of the state (e.g. On, Off for checkboxes).
getKeysGets keys of the dictionary. If appearance dictionary has subditionaries, then {@code Keys} contains (N|R|D).state values, where N - normal appearance, R - rollover appearance, D - down appearance and state - the name of the state (e.g. On, Off for checkboxes).
getSyncRootGets an object that can be used to synchronize access to the dictionary.
getValues_Gets the list of the dictionary values. Result collection contains the list of XForm objects.
getValuesGets the list of the dictionary values. Result collection contains the list of XForm objects.
isFixedSizeGets a value indicating whether dictionary has a fixed size.
isReadOnlyGets a value indicating whether dictionary is read-only.
isSynchronizedGets a value indicating whether access to the dictionary is synchronized (thread safe).
iterator__Rename_NamesakeEnumerator for the collection.
iteratorReturns an IDictionaryEnumerator object for the dictionary.
removeItemRemoves key/value pair from the collection.
removeItemByKeyRemoves key from the dictionary.
set_Item
sizeGets the number of elements contained in the dictionary.
tryGetValueTries to find key in the dictionary and retreives value if found.

add

Adds an element with the provided key and value.

addItem

Adds pair with key and value into the dictionary.

addItem

Add X form for specifed key.

clear

public void clear()

Removes all elements from the dictionary.

containsItem

Checks does specified key-value pair is contained in the dictionary.

containsKey

Determines does this dictionary contasins specified key.

copyTo

/ * / * Returns an IDictionaryEnumerator object for the dictionary. / * / * / *

copyToTArray

Copies the elements of the ICollection to an Array, starting at a particular Array index.

get_Item

Represents convenient form for getting appearance streams.

getDict

public com.aspose.pdf.engine.data.IPdfDictionary getDict()

Gets pdf dictionary

Returns: IPdfDictionary object

getKeys_

public List < String > getKeys_()

Gets keys of the dictionary. If appearance dictionary has subditionaries, then {@code Keys} contains (N|R|D).state values, where N - normal appearance, R - rollover appearance, D - down appearance and state - the name of the state (e.g. On, Off for checkboxes).

Returns: List of String values

getKeys

public com.aspose.ms.System.Collections.Generic.IGenericCollection< String > getKeys()

Gets keys of the dictionary. If appearance dictionary has subditionaries, then {@code Keys} contains (N|R|D).state values, where N - normal appearance, R - rollover appearance, D - down appearance and state - the name of the state (e.g. On, Off for checkboxes).

Returns: List of String values

getSyncRoot

public Object getSyncRoot()

Gets an object that can be used to synchronize access to the dictionary.

Returns: Object for synchronization

getValues_

public List < XForm > getValues_()

Gets the list of the dictionary values. Result collection contains the list of XForm objects.

Returns: List of XForm values

getValues

public com.aspose.ms.System.Collections.Generic.IGenericCollection< XForm > getValues()

Gets the list of the dictionary values. Result collection contains the list of XForm objects.

Returns: List of XForm values

isFixedSize

public boolean isFixedSize()

Gets a value indicating whether dictionary has a fixed size.

Returns: boolean value

isReadOnly

public boolean isReadOnly()

Gets a value indicating whether dictionary is read-only.

Returns: boolean value

isSynchronized

public boolean isSynchronized()

Gets a value indicating whether access to the dictionary is synchronized (thread safe).

Returns: boolean value

iterator__Rename_Namesake

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair< String , XForm >> iterator__Rename_Namesake()

Enumerator for the collection.

Returns: enumerator of the collection items.

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.ms.System.Collections.Generic.KeyValuePair< String , XForm >> iterator()

Returns an IDictionaryEnumerator object for the dictionary.

Returns: Enumerator of the dictionary.

removeItem

Removes key/value pair from the collection.

removeItemByKey

Removes key from the dictionary.

set_Item

size

public int size()

Gets the number of elements contained in the dictionary.

Returns: int value

tryGetValue

Tries to find key in the dictionary and retreives value if found.