public final class FontSourceCollection extends Object implements Iterable<FontSource>
Modifier and Type | Field and Description |
---|---|
PdfEvent<com.aspose.ms.System.EventHandler> |
CollectionChanged
CollectionChanged event
|
Constructor and Description |
---|
FontSourceCollection()
Initializes collection object
|
Modifier and Type | Method and Description |
---|---|
void |
add(FontSource fontSource)
Adds new font source object to the collection.
|
void |
clear()
Clears the font source collection.
|
boolean |
contains(FontSource item)
Determines whether an element is in the collection
|
void |
copyTo(FontSource[] array,
int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the
target array
|
void |
delete(FontSource fontSource)
Deletes the font source element.
|
FontSource |
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.IEnumerator |
iterator()
Returns an enumerator for the entire collection.
|
boolean |
remove(FontSource item)
Deletes the font source 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 final PdfEvent<com.aspose.ms.System.EventHandler> CollectionChanged
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.IEnumerator iterator()
Returns an enumerator for the entire collection.
iterator
in interface Iterable<FontSource>
public void copyTo(FontSource[] array, int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array
array
- Array of objects which will be copied.index
- Starting index from which copying will be started.public void add(FontSource fontSource)
Adds new font source object to the collection.
fontSource
- Font source.public void clear()
Clears the font source collection.
public void delete(FontSource fontSource)
Deletes the font source element.
fontSource
- FontSource object that will be deleted.public FontSource getItem(int index)
Gets the font element at the specified index.
index
- Index within the collection.public boolean contains(FontSource item)
Determines whether an element is in the collection
item
- FontSource object to search.public boolean remove(FontSource item)
Deletes the font source element.
item
- FontSource object that will be deleted.