The Font type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Font |
Creates a new font object.
|
Methods
| Name | Description | |
|---|---|---|
| AddToSubset |
Add characters to the embedded subset.
| |
| CalculateLength |
Calculate the length of given text. Multiply the result with the font size to
get the length in points.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetTrueTypeFontNames |
Retrieve the names of all TrueType files inside a TrueType collection file.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Parse |
For internal use only.
| |
| Read(String) |
Read from XML file.
(Inherited from Object.) | |
| Read(XmlElement) |
Read from XML element.
(Inherited from Object.) | |
| Read(XmlReader) |
Read from XML reader.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| TrueType(Stream) |
Get a TrueType font from a stream.
| |
| TrueType(String) |
Get a TrueType font from file.
| |
| TrueType(Stream, String) |
Get a TrueType font from a TrueType collection stream.
| |
| TrueType(String, String) |
Get a TrueType font from a TrueType collection (.TTC) file.
|
Properties
| Name | Description | |
|---|---|---|
| Courier |
Get standard PDF font Courier.
| |
| CourierBold |
Get standard PDF font Courier bold.
| |
| CourierBoldOblique |
Get standard PDF font Courier bold oblique.
| |
| CourierOblique |
Get standard PDF font Courier oblique.
| |
| Height |
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.
| |
| Helvetica |
Get standard PDF font Helvetica.
| |
| HelveticaBold |
Get standard PDF font Helvetica bold.
| |
| HelveticaBoldOblique |
Get standard PDF font Helvetica bold oblique.
| |
| HelveticaOblique |
Get standard PDF font Helvetica oblique.
| |
| LicensingRights |
Font licensing rights.
| |
| Name |
The name of the font.
| |
| Path |
The path of the TrueType file of this font.
| |
| Symbol |
Get standard PDF font Symbol.
| |
| TimesBold |
Get standard PDF font TimesRoman bold.
| |
| TimesBoldItalic |
Get standard PDF font TimesRoman bold italic.
| |
| TimesItalic |
Get standard PDF font TimesRoman italic.
| |
| TimesRoman |
Get standard PDF font TimesRoman.
| |
| ZapfDingbats |
Get standard PDF font ZapfDingbats.
|