SharpPlot Reference > SharpPlot Methods > SetKeyFont Method SharpPlot.SetKeyFont Method
Set Key font given any of fontname, point-size, style, color.
Example
sp.SetKeyFont("Verdana,Arial",14); // Arial is used as a fallback if Verdana is not found
Overloads
- public void SetKeyFont(string fontName);
- public void SetKeyFont(double fontSize);
- public void SetKeyFont(Color fontColor);
- public void SetKeyFont(FontStyle fontStyle);
- public void SetKeyFont(string fontName,double fontSize);
- public void SetKeyFont(string fontName,Color fontColor);
- public void SetKeyFont(double fontSize,Color fontColor);
- public void SetKeyFont(string fontName,FontStyle fontStyle);
- public void SetKeyFont(FontStyle fontStyle,Color fontColor);
- public void SetKeyFont(string fontName,double fontSize,Color fontColor);
- public void SetKeyFont(string fontName,FontStyle fontStyle,Color fontColor);
- public void SetKeyFont(string fontName,double fontSize,FontStyle fontStyle);
- public void SetKeyFont(string fontName,double fontSize,FontStyle fontStyle,Color fontColor);
See also ...SharpPlot Members
Send comments on this topic © Dyalog Ltd 2021
|