Table of Contents

Struct XFontStyle

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Defines a structure that represents the style of a font face as normal, italic, or oblique. Note that this struct is new since PDFsharp 6.0. XFontStyle from prior version of PDFsharp is renamed to XFontStyleEx.

public readonly struct XFontStyle

Methods

Equals(XFontStyle)

Compares a System.Windows.XFontStyle with the current System.Windows.XFontStyle instance for equality.

Equals(object?)

Compares an object with the current System.Windows.XFontStyle instance for equality.

GetHashCode()

Retrieves the hash code for this object.

ToString()

Creates a string that represents the current System.Windows.XFontStyle object and is based on the System.Globalization.CultureInfo.CurrentCulture property information.

Operators

operator ==(XFontStyle, XFontStyle)

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

operator !=(XFontStyle, XFontStyle)

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