Table of Contents

Struct XFontWeight

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Defines the density of a typeface, in terms of the lightness or heaviness of the strokes.

public readonly struct XFontWeight

Properties

Weight

Gets the weight of the font, a value between 1 and 999.

Methods

Compare(XFontWeight, XFontWeight)

Compares the specified font weights.

Equals(XFontWeight)

Determines whether the specified XFontWeight is equal to the current XFontWeight.

Equals(object?)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as a hash function for this type.

ToString()

Returns a string that represents the current object.

Operators

operator ==(XFontWeight, XFontWeight)

Implements the operator ==.

operator >(XFontWeight, XFontWeight)

Implements the operator >.

operator >=(XFontWeight, XFontWeight)

Implements the operator >=.

operator !=(XFontWeight, XFontWeight)

Implements the operator !=.

operator <(XFontWeight, XFontWeight)

Implements the operator <.

operator <=(XFontWeight, XFontWeight)

Implements the operator <=.