SharpLeaf Reference > FontType Structure > FontType Constructor FontType Constructor
Create a font descriptor, giving font name, size, and optional FontStyle, Color, and interline space.
Overloads
- public FontType();
- public FontType(string fontName, double fontSize);
- public FontType(string fontName, double fontSize, FontStyle fontStyle) ;
- public FontType(string fontName, double fontSize, FontStyle fontStyle, Color fontColor) ;
- public FontType(string fontName, double fontSize, FontStyle fontStyle, Color fontColor, double fontInter) ;
- public FontType(string fontName,double fontSize,FontStyle fontStyle,Color fontColor,double fontInter,string fontPS);
Example
// Grey bold Arial, with 18-point font size, and interline of half the size
font = new FontType("Arial",18,FontStyle.Bold,Color.Gray,-0.5);
See also ...FontType.Members
Send comments on this topic © Dyalog Ltd 2021
|