asposediagram.api

Class FontCollection

Contains a collection of Font elements.

Constructor Summary
FontCollection()
Constructor.
 
Property Getters/Setters Summary
methodgetCount()
methodget(index)
 
Method Summary
methodadd(font)
Add the Font object in the collection.
methodclear()
methodgetFont(ID)
Gets the element at the specified ID.
methoditerator()
Reserved for internal use.
methodremove(font)
Remove the Font object from the collection.
methodremoveAt(index)
 

    • Constructor Detail

      • FontCollection

        FontCollection()
        Constructor.
    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
    • Method Detail

      • add

        int add(font)
        Add the Font object in the collection.
        Parameters:
        font: Font -
        Returns:
      • remove

         remove(font)
        Remove the Font object from the collection.
        Parameters:
        font: Font -
      • getFont

        Font getFont(ID)
        Gets the element at the specified ID.
        Parameters:
        ID: int - intThe ID of the element within its parent element.
        Returns:
        FontFont.
      • clear

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
        Reserved for internal use.