PdfSharp-GDI
1.31.7289
|
Defines a group of type faces having a similar basic design and certain variations in styles. More...
Public Member Functions | |
XFontFamily (string name) | |
Initializes a new instance of the XFontFamily class. More... | |
int | GetCellAscent (XFontStyle style) |
Returns the cell ascent, in design units, of the XFontFamily object of the specified style. More... | |
int | GetCellDescent (XFontStyle style) |
Returns the cell descent, in design units, of the XFontFamily object of the specified style. More... | |
int | GetEmHeight (XFontStyle style) |
Gets the height, in font design units, of the em square for the specified style. More... | |
int | GetLineSpacing (XFontStyle style) |
Returns the line spacing, in design units, of the FontFamily object of the specified style. The line spacing is the vertical distance between the base lines of two consecutive lines of text. More... | |
bool | IsStyleAvailable (XFontStyle style) |
Indicates whether the specified FontStyle enumeration is available. More... | |
Static Public Member Functions | |
static XFontFamily[] | GetFamilies (XGraphics graphics) |
Returns an array that contains all the FontFamily objects available for the specified graphics context. More... | |
Properties | |
string | Name [get] |
Gets the name of the font family. More... | |
static XFontFamily[] | Families [get] |
Returns an array that contains all the FontFamily objects associated with the current graphics context. More... | |
Defines a group of type faces having a similar basic design and certain variations in styles.
PdfSharp.Drawing.XFontFamily.XFontFamily | ( | string | name | ) |
Initializes a new instance of the XFontFamily class.
name | The family name of a font. |
int PdfSharp.Drawing.XFontFamily.GetCellAscent | ( | XFontStyle | style | ) |
Returns the cell ascent, in design units, of the XFontFamily object of the specified style.
int PdfSharp.Drawing.XFontFamily.GetCellDescent | ( | XFontStyle | style | ) |
Returns the cell descent, in design units, of the XFontFamily object of the specified style.
int PdfSharp.Drawing.XFontFamily.GetEmHeight | ( | XFontStyle | style | ) |
Gets the height, in font design units, of the em square for the specified style.
|
static |
Returns an array that contains all the FontFamily objects available for the specified graphics context.
int PdfSharp.Drawing.XFontFamily.GetLineSpacing | ( | XFontStyle | style | ) |
Returns the line spacing, in design units, of the FontFamily object of the specified style. The line spacing is the vertical distance between the base lines of two consecutive lines of text.
bool PdfSharp.Drawing.XFontFamily.IsStyleAvailable | ( | XFontStyle | style | ) |
Indicates whether the specified FontStyle enumeration is available.
|
staticget |
Returns an array that contains all the FontFamily objects associated with the current graphics context.
|
get |
Gets the name of the font family.