public class FontSubstRuleCollection extends java.lang.Object implements IFontSubstRuleCollection
Represents collection of fonts substitution.
| Constructor and Description |
|---|
FontSubstRuleCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IFontSubstRule value)
Adds the new font substitution rule to the collection
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array.
|
IFontSubstRule |
get_Item(int index)
Gets the element at the specified index.
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFontSubstRule> |
iterator()
Returns an enumerator that iterates through the collection.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFontSubstRule> |
iteratorJava()
Returns a java iterator for the entire collection.
|
void |
remove(IFontSubstRule value)
Removes the first occurrence of a specific object from the collection.
|
int |
size()
Gets the number of elements actually contained in the collection.
|
public final int size()
Gets the number of elements actually contained in the collection.
Read-only int.
size in interface com.aspose.ms.System.Collections.ICollection<IFontSubstRule>public final void add(IFontSubstRule value)
Adds the new font substitution rule to the collection
add in interface IFontSubstRuleCollectionvalue - Font substitution rule IFontSubstRulepublic final void remove(IFontSubstRule value)
Removes the first occurrence of a specific object from the collection.
remove in interface IFontSubstRuleCollectionvalue - The font substitution rule to remove from the collection.public final IFontSubstRule get_Item(int index)
Gets the element at the specified index.
get_Item in interface IFontSubstRuleCollectionpublic final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFontSubstRule> iterator()
Returns an enumerator that iterates through the collection.
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFontSubstRule>iterator in interface com.aspose.ms.System.Collections.IEnumerable<IFontSubstRule>iterator in interface java.lang.Iterable<IFontSubstRule>IGenericEnumerator that can be used to iterate through the collection.public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFontSubstRule> iteratorJava()
Returns a java iterator for the entire collection.
iteratorJava in interface IGenericCollection<IFontSubstRule>Iterator for the entire collection.public final void copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array.
copyTo in interface com.aspose.ms.System.Collections.ICollection<IFontSubstRule>array - Target array.index - Starting index in the target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean.
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<IFontSubstRule>public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object.
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<IFontSubstRule>Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.