The Font type exposes the following members.

Methods

  NameDescription
Public methodAddToSubset
Add characters to the embedded subset.
Public methodCalculateLength
Calculate the length of given text. Multiply the result with the font size to get the length in points.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetTrueTypeFontNames
Retrieve the names of all TrueType files inside a TrueType collection file.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParse
For internal use only.
Public methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberTrueType(Stream)
Get a TrueType font from a stream.
Public methodStatic memberTrueType(String)
Get a TrueType font from file.
Public methodStatic memberTrueType(Stream, String)
Get a TrueType font from a TrueType collection stream.
Public methodStatic memberTrueType(String, String)
Get a TrueType font from a TrueType collection (.TTC) file.

See Also