Skip to content

PdfFontMetrics Class

Definition

Namespace: Xfinium.Pdf.Graphics

Provides the metrics for a font object.

C#
public class PdfFontMetrics : Object

Inheritance: Object → PdfFontMetrics

Remarks

The font metrics are provided in unscaled glyph units.

Properties

Name Description
Ascent Gets the ascent of the font.
AverageWidth Gets the average width of glyphs in the font.
BoundingBox Gets the font's bounding box.
CapHeight Gets the capHeight of the font.
Descent Gets the descent of the font.
Leading Gets the leading of the font.
MaxWidth Gets the maximum width of glyphs in the font.
Name Gets the Postscript name of the font.
SpaceWidth Gets the width of space character.
StemH Gets the horizontal stem of the font.
StemV Gets the vertical stem of the font.
XHeight Gets the x height of the font.