Table of Contents

Struct XFontStretch

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Describes the degree to which a font has been stretched compared to the normal aspect ratio of that font.

public readonly struct XFontStretch

Methods

Compare(XFontStretch, XFontStretch)

Compares two instances of System.Windows.XFontStretch objects.

Equals(XFontStretch)

Compares a System.Windows.XFontStretch object with the current System.Windows.XFontStretch object.

Equals(object?)

Compares a object with the current System.Windows.XFontStretch object.

FromOpenTypeStretch(int)

Creates a new instance of System.Windows.XFontStretch that corresponds to the OpenType usStretchClass value.

GetHashCode()

Retrieves the hash code for this object.

ToOpenTypeStretch()

Returns a value that represents the OpenType usStretchClass for this System.Windows.XFontStretch object.

ToString()

Creates a string representation of the current System.Windows.XFontStretch object based on the current culture.

Operators

operator ==(XFontStretch, XFontStretch)

Compares two instances of System.Windows.XFontStretch for equality.

operator >(XFontStretch, XFontStretch)

Evaluates two instances of System.Windows.XFontStretch to determine if one instance is greater than the other.

operator >=(XFontStretch, XFontStretch)

Evaluates two instances of System.Windows.XFontStretch to determine whether one instance is greater than or equal to the other.

operator !=(XFontStretch, XFontStretch)

Evaluates two instances of System.Windows.XFontStretch to determine inequality.

operator <(XFontStretch, XFontStretch)

Evaluates two instances of System.Windows.XFontStretch to determine whether one instance is less than the other.

operator <=(XFontStretch, XFontStretch)

Evaluates two instances of System.Windows.XFontStretch to determine whether one instance is less than or equal to the other.