FontSubstRuleCollection
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.IFontSubstRuleCollection
public class FontSubstRuleCollection implements IFontSubstRuleCollection
Represents collection of fonts substitution.
Constructors
Constructor | Description |
---|---|
FontSubstRuleCollection() |
Methods
Method | Description |
---|---|
size() | Gets the number of elements actually contained in the collection. |
add(IFontSubstRule value) | Adds the new font substitution rule to the collection |
remove(IFontSubstRule value) | Removes the first occurrence of a specific object from the collection. |
get_Item(int index) | Gets the element at the specified index. |
iterator() | Returns an enumerator that iterates through the collection. |
iteratorJava() | Returns a java iterator for the entire collection. |
copyTo(System.Array array, int index) | Copies all elements from the collection to the specified array. |
isSynchronized() | Returns a value indicating whether access to the collection is synchronized (thread-safe). |
getSyncRoot() | Returns a synchronization root. |
FontSubstRuleCollection()
public FontSubstRuleCollection()
size()
public final int size()
Gets the number of elements actually contained in the collection. Read-only int.
Returns: int
add(IFontSubstRule value)
public final void add(IFontSubstRule value)
Adds the new font substitution rule to the collection
Parameters:
Parameter | Type | Description |
---|---|---|
value | IFontSubstRule |
remove(IFontSubstRule value)
public final void remove(IFontSubstRule value)
Removes the first occurrence of a specific object from the collection.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IFontSubstRule | The font substitution rule to remove from the collection. |
get_Item(int index)
public final IFontSubstRule get_Item(int index)
Gets the element at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: IFontSubstRule
iterator()
public final System.Collections.Generic.IGenericEnumerator<IFontSubstRule> iterator()
Returns an enumerator that iterates through the collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IFontSubstRule> - A IGenericEnumerator that can be used to iterate through the collection.
iteratorJava()
public final System.Collections.Generic.IGenericEnumerator<IFontSubstRule> iteratorJava()
Returns a java iterator for the entire collection.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.IFontSubstRule> - An java.util.Iterator for the entire collection.
copyTo(System.Array array, int index)
public final void copyTo(System.Array array, int index)
Copies all elements from the collection to the specified array.
Parameters:
Parameter | Type | Description |
---|---|---|
array | com.aspose.ms.System.Array | Target array. |
index | int | Starting index in the target array. |
isSynchronized()
public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.
Returns: boolean
getSyncRoot()
public final Object getSyncRoot()
Returns a synchronization root. Read-only Object.
Returns: java.lang.Object