The Font type exposes the following members.

Constructors

  NameDescription
Public methodFont
Creates a new font object.

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.

Properties

  NameDescription
Public propertyStatic memberCourier
Get standard PDF font Courier.
Public propertyStatic memberCourierBold
Get standard PDF font Courier bold.
Public propertyStatic memberCourierBoldOblique
Get standard PDF font Courier bold oblique.
Public propertyStatic memberCourierOblique
Get standard PDF font Courier oblique.
Public propertyHeight
The height of this font at a font size of 1 pt. Multiply the height with the font size to get the height in points.
Public propertyStatic memberHelvetica
Get standard PDF font Helvetica.
Public propertyStatic memberHelveticaBold
Get standard PDF font Helvetica bold.
Public propertyStatic memberHelveticaBoldOblique
Get standard PDF font Helvetica bold oblique.
Public propertyStatic memberHelveticaOblique
Get standard PDF font Helvetica oblique.
Public propertyLicensingRights
Font licensing rights.
Public propertyName
The name of the font.
Public propertyPath
The path of the TrueType file of this font.
Public propertyStatic memberSymbol
Get standard PDF font Symbol.
Public propertyStatic memberTimesBold
Get standard PDF font TimesRoman bold.
Public propertyStatic memberTimesBoldItalic
Get standard PDF font TimesRoman bold italic.
Public propertyStatic memberTimesItalic
Get standard PDF font TimesRoman italic.
Public propertyStatic memberTimesRoman
Get standard PDF font TimesRoman.
Public propertyStatic memberZapfDingbats
Get standard PDF font ZapfDingbats.

See Also