Namespace: PdfSharp.Drawing
Defines a structure that represents the style of a font face as normal, italic, or oblique.
public struct XFontStyle
Inheritance Object → ValueType → XFontStyle
Implements IFormattable
Compares a with the current instance for equality.
bool Equals(XFontStyle obj)
obj
XFontStyle
An instance of to compare for equality.
Boolean
to show the two instances are equal; otherwise, .
Compares an Object with the current instance for equality.
bool Equals(object obj)
obj
Object
An Object value that represents the to compare for equality.
Boolean
to show the two instances are equal; otherwise, .
Retrieves the hash code for this object.
int GetHashCode()
Int32
A 32-bit hash code, which is a signed integer.
Creates a String that represents the current object and is based on the CultureInfo.CurrentCulture property information.
string ToString()
String
A String that represents the value of the object, such as “Normal”, “Italic”, or “Oblique”.
int GetStyleForInternalConstruction()
Simple hack to make it work… Returns Normal or Italic - bold, underline and such get lost here.
XFontStyle FromGdiFontStyle(XFontStyleEx style)
style
XFontStyleEx