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

FontType Constructor (String,Double,FontStyle,Color,Double,String)

Create a font descriptor, giving font name, size, and optional FontStyle, Color, and interline space.

public FontType(
    string fontName,
    double fontSize,
    FontStyle fontStyle,
    Color fontColor,
    double fontInter,
    string fontPS
);
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.
fontPS
PostScript font name (see PostScriptName property).

See also ...

FontType.Members | FontType.FontType Constructor


Send comments on this topic
© Dyalog Ltd 2021