Click or drag to resize

TextFont Class

Represents a font definition. Immutable.
Inheritance Hierarchy
System Object
Spire.Presentation TextFont

Namespace: Spire.Presentation
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public sealed class TextFont

The TextFont type exposes the following members.

Constructors
Name Description
Public method TextFont
Creates a new FontData object with the specified font name.
Top
Properties
Name Description
Public property FontName
Gets the font name. Read-only String .
Top
Methods
Name Description
Public method Equals
Indicates whether two FontData instances are equal.
(Overrides Object Equals(Object) .)
Public method GetFontName
Gets the font name, replacing theme referrence with an actual font used.
Public method GetHashCode (Overrides Object GetHashCode .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also