SharpLeaf Reference > FontType Structure > FontType Constructor > (String,Double,FontStyle,Color,Double) FontType Constructor (String,Double,FontStyle,Color,Double)
Define a font with specific interline.
public FontType(
string fontName,
double fontSize,
FontStyle fontStyle,
Color fontColor,
double fontInter
);
-
fontName
- Font face identifier (see Name property).
-
fontSize
- Font size, in points.
-
fontStyle
- FontStyle decoration : Regular (default), or combinations of Bold, Italic, Underline and Strikeout.
-
fontColor
- Font color – default to black.
-
fontInter
- Font interline – defaults to -0.2, that is a relative interline of 20% of the font size.
See also ...FontType.Members | FontType.FontType Constructor
Send comments on this topic © Dyalog Ltd 2021
|