SciChart.Drawing Assembly > SciChart.Drawing.Common Namespace > IRenderContext2D Interface > DrawText Method : DrawText(Point,String,Single,FontFamily,FontWeight,FontStyle,Color) Method
The desired top-left position of the text
The text to draw
The size of a font face
The family name of related fonts
The density of a typeface
The style of a font face
The color of a font face
DrawText(Point,String,Single,FontFamily,FontWeight,FontStyle,Color) Method
Draws text at the specified position
Syntax

Parameters

topLeft
The desired top-left position of the text
text
The text to draw
fontSize
The size of a font face
fontFamily
The family name of related fonts
fontWeight
The density of a typeface
fontStyle
The style of a font face
foreColor
The color of a font face
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also