Namespace: PdfSharp.Drawing
Defines the density of a typeface, in terms of the lightness or heaviness of the strokes.
public struct XFontWeight
Inheritance Object → ValueType → XFontWeight
Implements IFormattable
Gets the weight of the font, a value between 1 and 999.
public int Weight { get; }
Compares the specified font weights.
int Compare(XFontWeight left, XFontWeight right)
left
XFontWeight
right
XFontWeight
Determines whether the specified XFontWeight is equal to the current XFontWeight.
bool Equals(XFontWeight obj)
obj
XFontWeight
Determines whether the specified Object is equal to the current Object.
bool Equals(object obj)
obj
Object
Serves as a hash function for this type.
int GetHashCode()
Returns a String that represents the current Object.
string ToString()
string ConvertToString(string format, IFormatProvider provider)
format
String
provider
IFormatProvider
Simple hack to make it work…
XFontWeight FromGdiFontStyle(XFontStyleEx style)
style
XFontStyleEx