SharpPlot Reference > SharpPlot Methods > SetCaptionFont Method SharpPlot.SetCaptionFont Method
Set Caption font given any of fontname, point-size, style, color.
Example
sp.SetCaptionFont("Tahoma,Arial,Sans",12); // Provide fallback fonts
sp.SetCaptionFont("Times",12,Color.Navy);
Overloads
- public void SetCaptionFont(string fontName);
- public void SetCaptionFont(double fontSize);
- public void SetCaptionFont(Color fontColor);
- public void SetCaptionFont(FontStyle fontStyle);
- public void SetCaptionFont(string fontName,double fontSize);
- public void SetCaptionFont(string fontName,Color fontColor);
- public void SetCaptionFont(double fontSize,Color fontColor);
- public void SetCaptionFont(string fontName,FontStyle fontStyle);
- public void SetCaptionFont(FontStyle fontStyle,Color fontColor);
- public void SetCaptionFont(string fontName,double fontSize,Color fontColor);
- public void SetCaptionFont(string fontName,FontStyle fontStyle,Color fontColor);
- public void SetCaptionFont(string fontName,double fontSize,FontStyle fontStyle);
- public void SetCaptionFont(string fontName,double fontSize,FontStyle fontStyle,Color fontColor);
This method sets all three captions in a single call.
See also ...SharpPlot Members
Send comments on this topic © Dyalog Ltd 2021
|