FontCollection Class
Contains a collection of Font elements.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramCollection
    Aspose.DiagramFontCollection

Namespace: Aspose.Diagram
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
Syntax
public class FontCollection : Collection

The FontCollection type exposes the following members.

Constructors
  NameDescription
Public methodFontCollection
Constructor.
Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the collection.
(Inherited from Collection.)
Public propertyItem
Gets the element at the specified index.
Protected propertyList
List of the elemens.
(Inherited from Collection.)
Methods
  NameDescription
Public methodAdd
Add the Font object in the collection.
Public methodClear
Removes all elements from collection.
(Inherited from Collection.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Supports a simple iteration over a nongeneric collection.
(Inherited from Collection.)
Public methodGetFont
Gets the element at the specified ID.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIsExist
Is exist item in the collection.
(Inherited from Collection.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Remove the Font object from the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also