Click or drag to resize

GlobalsGetGlyphRun Method (String, String, Double, Point, Boolean)

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
C#
public static GlyphRun GetGlyphRun(
	string text,
	string typeFaceName,
	double fontSize,
	Point baseLineOrigin,
	bool isCentered
)

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

Return Value

Type: GlyphRun
See Also