Skip to main content

FontFamilyList

Version: 9.0

cete.dynamicpdf.text.fontfamilylist

FontFamilyList​

Represents a collection of font families.

public class FontFamilyList : IEnumerable
Public Class FontFamilyList
Implements IEnumerable

Inheritance: Object → FontFamilyList

Implements: IEnumerable

Licensing​

This class is a DynamicPDF Generator Community Edition feature.

Constructors​

FontFamilyList()​

Initializes a new instance of the FontFamilyList class.

public FontFamilyList()
Public Sub New ()

Properties​

Count​

Gets the total number of font families in the collection.

public int Count { get; }
Public Property Count As Int32

Property Value​

Int32

Item[Int32]​

Gets the FontFamily at the specified index.

public FontFamily this[int index] { get; set; }
Public Property Item(index As Integer) As FontFamily

Property Value​

FontFamily

Item[String]​

Gets the FontFamily with the specified name.

public FontFamily this[string name] { get; set; }
Public Property Item(name As String) As FontFamily

Property Value​

FontFamily

Methods​

Add(FontFamily)​

Adds a FontFamily to the collection.

public void Add(FontFamily fontFamily)
Sub Add(fontFamily As FontFamily)

Parameters​

The FontFamily object to add.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetEnumerator()​

Gets an IEnumerator for the collection.

public IEnumerator GetEnumerator()
Function GetEnumerator() As IEnumerator

Returns​

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF.Text