Table of Contents

Class TypeMetric

Namespace
ImageMagick
Assembly
Magick.NET-Q16-AnyCPU.dll

Used to obtain font metrics for text string given current font, pointsize, and density settings.

public sealed class TypeMetric : ITypeMetric
Inheritance
TypeMetric
Implements
ITypeMetric
Inherited Members

Properties

Ascent

Gets the ascent, the distance in pixels from the text baseline to the highest/upper grid coordinate used to place an outline point.

public double Ascent { get; }

Property Value

double

Descent

Gets the descent, the distance in pixels from the baseline to the lowest grid coordinate used to place an outline point. Always a negative value.

public double Descent { get; }

Property Value

double

MaxHorizontalAdvance

Gets the maximum horizontal advance in pixels.

public double MaxHorizontalAdvance { get; }

Property Value

double

TextHeight

Gets the text height in pixels.

public double TextHeight { get; }

Property Value

double

TextWidth

Gets the text width in pixels.

public double TextWidth { get; }

Property Value

double

UnderlinePosition

Gets the underline position.

public double UnderlinePosition { get; }

Property Value

double

UnderlineThickness

Gets the underline thickness.

public double UnderlineThickness { get; }

Property Value

double