Font Properties |
The Font type exposes the following members.
Name | Description | |
---|---|---|
Ascent | The ascent of the font. The maximum height above the baseline reached by glyphs in this font, excluding the height of glyphs for accented characters. | |
BaseFont | The PostScript name of the font | |
CapHeight | The cap height of the font. The vertical coordinate of the top of flat capital letters, measured from the baseline. | |
Descent | The descent of the font. The maximum depth below the baseline reached by glyphs in this font. The value is a negative number. | |
ItalicAngle | The italic angle of the font. The angle is expressed in degrees counterclockwise from the vertical, of the dominant vertical strokes of the font. (For example, the 9-o’clock position is 90 degrees, and the 3-o’clock position is –90 degrees.) The value is negative for fonts that slope to the right, as almost all italic fonts do. | |
Leading | The leading of the font. The vertical distance between two adjacent base lines in multiline text. This is a recomended value when generating several lines of text. If the font does not define this value, is returned. Note that TextGenerator(Text, Font, Double, NullablePoint) uses a fixed value of 1.2 instead of this property to initialize the Leading in order to maintain backward compatibility with earlier versions. | |
Weight | The visual weight of the font. Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the font. If the font does not define this value, is returned. |