PDFsharp-net6

XFontMetrics

Namespace: PdfSharp.Drawing

Collects information of a font.

public sealed class XFontMetrics

Inheritance ObjectXFontMetrics

Properties

Name

Gets the font name.

public string Name { get; }

Property Value

String

UnitsPerEm

Gets the ascent value.

public int UnitsPerEm { get; }

Property Value

Int32

Ascent

Gets the ascent value.

public int Ascent { get; }

Property Value

Int32

Descent

Gets the descent value.

public int Descent { get; }

Property Value

Int32

AverageWidth

Gets the average width.

public int AverageWidth { get; }

Property Value

Int32

CapHeight

Gets the height of capital letters.

public int CapHeight { get; }

Property Value

Int32

Leading

Gets the leading value.

public int Leading { get; }

Property Value

Int32

LineSpacing

Gets the line spacing value.

public int LineSpacing { get; }

Property Value

Int32

MaxWidth

Gets the maximum width of a character.

public int MaxWidth { get; }

Property Value

Int32

StemH

Gets an internal value.

public int StemH { get; }

Property Value

Int32

StemV

Gets an internal value.

public int StemV { get; }

Property Value

Int32

XHeight

Gets the height of a lower-case character.

public int XHeight { get; }

Property Value

Int32

UnderlinePosition

Gets the underline position.

public int UnderlinePosition { get; }

Property Value

Int32

UnderlineThickness

Gets the underline thickness.

public int UnderlineThickness { get; }

Property Value

Int32

StrikethroughPosition

Gets the strikethrough position.

public int StrikethroughPosition { get; }

Property Value

Int32

StrikethroughThickness

Gets the strikethrough thickness.

public int StrikethroughThickness { get; }

Property Value

Int32