Click or drag to resize

PdfFontMetrics Properties

The PdfFontMetrics type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleAscent
Gets the ascent of the font in PDF font design units.
Public propertyCode exampleDescent
Gets the descent of the font in PDF font design units. The Descent is the distance that the font extends below the baseline of the font. Descent is usually negative.
Public propertyCode exampleFontBounds
Gets the smallest bounding box that can surround all glyphs within the font. Units are in PDF font design units.
Public propertyCode exampleLeading
Gets the recommended leading for this font in PDF font design units. This should be the height of the gap between lines, not the distance between baselines of successive lines. The distance between successive lines will be Ascent - Descent + Leading.
Top
See Also