MindFusion.Charting for JavaScript Programmer's Guide
Graphics.drawString Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Draws the specified string with the specified font and brush at the specified location.

Namespace: MindFusion.Drawing
File: Graphics.js

## Syntax

JavaScript Copy Code
function drawString (text, font, brush, location, [format])

### Parameters

text

  Type: String
  The string to draw.

font

  Type: Font
  The font to use.

brush

  Type: Brush
  The brush to use.

location

  Type: Point, Rect
  The position at which to draw.

format
  Optional.

  Type: StringFormat
  The format to use.

## See Also

drawString Method Overload List
Graphics Members
Graphics Class
MindFusion.Drawing Namespace