MindFusion.Charting for WebForms Programmer's Guide
IGraphics.DrawString Method (String, Font, Brush, PointF, StringFormat)
See Also
 



Draws the specified text string at the specified location with the specified Brush and Font objects using the formatting attributes of the specified StringFormat object.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawString (
    string s,
    Font font,
    Brush brush,
    PointF point,
    StringFormat format
)

Visual Basic  Copy Code

Sub DrawString( _
    s As String, _
    font As Font, _
    brush As Brush, _
    point As PointF, _
    format As StringFormat _
)

 Parameters

s
The string to draw.
font
A .NET Font object that defines the text format of the string.
brush
A .NET Brush object that determines the color and texture of the drawn text.
point
A .NET PointF structure that specifies the upper-left corner of the drawn text.
format
A .NET StringFormat object that specifies formatting attributes, such as line spacing and alignment, that are applied to the drawn text.

 See Also

DrawString Method Overload List
IGraphics Members
IGraphics Interface
MindFusion.Drawing Namespace