com.aspose.slides
Class FontSubstRuleCollection

java.lang.Object
  extended by com.aspose.slides.FontSubstRuleCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFontSubstRule>, com.aspose.ms.System.Collections.IEnumerable<IFontSubstRule>, IFontSubstRuleCollection, IGenericCollection<IFontSubstRule>, java.lang.Iterable<IFontSubstRule>

public class FontSubstRuleCollection
extends java.lang.Object
implements IFontSubstRuleCollection


Constructor Summary
FontSubstRuleCollection()
           
 
Method Summary
 void add(IFontSubstRule value)
           Adds the new font substitution rule to the collection
 void copyTo(IFontSubstRule[] 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.
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontSubstRuleCollection

public FontSubstRuleCollection()
Method Detail

size

public int size()

Gets the number of elements actually contained in the collection. Read-only int.

Specified by:
size in interface IGenericCollection<IFontSubstRule>

add

public void add(IFontSubstRule value)

Adds the new font substitution rule to the collection

Specified by:
add in interface IFontSubstRuleCollection

remove

public void remove(IFontSubstRule value)

Removes the first occurrence of a specific object from the collection.

Specified by:
remove in interface IFontSubstRuleCollection
Parameters:
value - The font substitution rule to remove from the collection.

get_Item

public IFontSubstRule get_Item(int index)

Gets the element at the specified index.

Specified by:
get_Item in interface IFontSubstRuleCollection

iterator

public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFontSubstRule> iterator()

Returns an enumerator that iterates through the collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFontSubstRule>
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<IFontSubstRule>
Specified by:
iterator in interface java.lang.Iterable<IFontSubstRule>
Returns:
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.

copyTo

public void copyTo(IFontSubstRule[] array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface IGenericCollection<IFontSubstRule>
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Specified by:
isSynchronized in interface IGenericCollection<IFontSubstRule>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Specified by:
getSyncRoot in interface IGenericCollection<IFontSubstRule>


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.