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






Draws the specified text string in the specified rectangle with the specified Brush and Font objects.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

void DrawString (
    string text,
    Font font,
    Brush brush,
    Rectangle rect
)

Visual Basic  Copy Code

Sub DrawString( _
    text As String, _
    font As Font, _
    brush As Brush, _
    rect As Rectangle _
)

 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.

rect

A Rectangle structure that specifies the location of the drawn text.

 See Also