GlobalsGetGlyphRun Method (String, String, Double, Point, Boolean, Double, Double) |
Returns a GlyphRun for the specified parameters
Namespace:
SharpCharts.Base.Common
Assembly:
SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax public static GlyphRun GetGlyphRun(
string text,
string typeFaceName,
double fontSize,
Point baseLineOrigin,
bool isCentered,
out double textWidth,
out double textHeight
)
Parameters
- text
- Type: SystemString
Text input - typeFaceName
- Type: SystemString
Typeface name - fontSize
- Type: SystemDouble
Font size - baseLineOrigin
- Type: System.WindowsPoint
BaseLineOrigin of the glyphRun - isCentered
- Type: SystemBoolean
Is text centered - textWidth
- Type: SystemDouble
Calculates the width of the text - textHeight
- Type: SystemDouble
Calculates the height of the text
Return Value
Type:
GlyphRunSee Also