Modifier and Type | Field and Description |
---|---|
com.aspose.ms.lang.Event<com.aspose.ms.System.EventHandler> |
CollectionChanged |
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.
|
void |
copyTo(com.aspose.ms.System.Array 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.
|
int |
size()
Gets the number of
|
public final com.aspose.ms.lang.Event<com.aspose.ms.System.EventHandler> CollectionChanged
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection
public Object getSyncRoot()
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection
public boolean isSynchronized()
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection
public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns an enumerator for the entire collection.
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array
copyTo
in interface com.aspose.ms.System.Collections.ICollection
array
- Array of objects which will be copied.index
- Starting index from which copying will be started.public void add(FontSource fontSource)
fontSource
- Font source.public void clear()
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.Copyright © 2014 Aspose. All Rights Reserved.