SharpLeaf Reference > FontType Structure > FontType Constructor > (String,Double,FontStyle,Color)

FontType Constructor (String,Double,FontStyle,Color)

Define a font with default interline.

public FontType(
    string fontName,
    double fontSize,
    FontStyle fontStyle,
    Color fontColor
);
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.

See also ...

FontType.Members | FontType.FontType Constructor


Send comments on this topic
© Dyalog Ltd 2021