public final class FontSubstitutionCollection extends Object implements Iterable<FontSubstitution>
Constructor and Description |
---|
FontSubstitutionCollection()
Initializes collection object
|
Modifier and Type | Method and Description |
---|---|
void |
add(FontSubstitution fontSubstitution)
Adds new font substitution object to the collection.
|
void |
clear()
Clears the font substitution collection.
|
boolean |
contains(FontSubstitution item)
Determines whether an element is in the collection
|
void |
delete(FontSubstitution fontSubstitution)
For internal only
Deletes the font substitution element.
|
FontSubstitution |
getItem(int index)
Gets the font element at the specified index.
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
|
boolean |
isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
|
com.aspose.ms.System.Collections.Generic.List.Enumerator<FontSubstitution> |
iterator()
Returns an enumerator for the entire collection.
|
boolean |
remove(FontSubstitution item)
Deletes the font substitution element.
|
int |
size()
Gets the number of Font object elements actually contained in the collection.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public FontSubstitutionCollection()
Initializes collection object
public int size()
Gets the number of Font object elements actually contained in the collection.
public Object getSyncRoot()
Gets an object that can be used to synchronize access to the collection.
public boolean isSynchronized()
Gets a value indicating whether access to the collection is synchronized (thread safe).
public com.aspose.ms.System.Collections.Generic.List.Enumerator<FontSubstitution> iterator()
Returns an enumerator for the entire collection.
iterator
in interface Iterable<FontSubstitution>
public void add(FontSubstitution fontSubstitution)
Adds new font substitution object to the collection.
fontSubstitution
- Font substitution strategy.public void clear()
Clears the font substitution collection.
public void delete(FontSubstitution fontSubstitution)
Deletes the font substitution element.
fontSubstitution
- FontSubstitution objectpublic boolean contains(FontSubstitution item)
Determines whether an element is in the collection
item
- FontSubstitution object to search.public boolean remove(FontSubstitution item)
Deletes the font substitution element.
item
- FontSubstitution object to delete.public FontSubstitution getItem(int index)
Gets the font element at the specified index.
index
- Index within the collection.