SciChart.Drawing Assembly > SciChart.Drawing.Common Namespace > RenderContextBase Class > DrawText Method : DrawText(Rect,Color,Single,String,FontFamily,FontWeight,FontStyle) Method
DrawText(Rect,Color,Single,String,FontFamily,FontWeight,FontStyle) Method
Draws text if it does not go outside
Syntax
[Obsolete("This method is no longer used internally and has been made obsolete. Please use DrawText(point, ...) method instead.", false)]
public virtual void DrawText( 
   Rect dstBoundingRect,
   Color foreColor,
   float fontSize,
   string text,
   FontFamily fontFamily,
   FontWeight fontWeight,
   FontStyle fontStyle
)

Parameters

dstBoundingRect
foreColor
fontSize
text
fontFamily
fontWeight
fontStyle
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