SharpPlot Reference > SharpPlot Methods > GetTextSize Method > (String,String,Double) SharpPlot.GetTextSize Method (String,String,Double)
Get text width and height in points, given font name and size.
public double[] GetTextSize(
string text,
string fontName,
double fontSize
);
-
text
- text to measure (newlines are interpreted).
-
fontName
- font face name.
-
fontSize
- font size in points.
-
return value
- size of text as {width, height}.
See also ...SharpPlot Members | SharpPlot.GetTextSize Method
Send comments on this topic © Dyalog Ltd 2021
|