Search
IGraphics.DrawString Method (String, Font, Brush, Double, Double)
See Also
 






Draws the specified text string at the specified location with the specified Brush and Font objects.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawString (
    string text,
    Font font,
    Brush brush,
    double x,
    double y
)

Visual Basic  Copy Code

Sub DrawString( _
    text As String, _
    font As Font, _
    brush As Brush, _
    x As Double, _
    y As Double _
)

 Parameters

text

The string to draw.

font

A Font object that defines the text format of the string.

brush

A Brush object that determines the color and texture of the drawn text.

x

The x-coordinate of the upper-left corner of the drawn text.

y

The y-coordinate of the upper-left corner of the drawn text.

 See Also