WebPlanner Programmer's Guide

GraphicsEx.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.Compact

 Syntax

C#  Copy Code

public void DrawString (
    string s,
    Font f,
    Brush brush,
    Rectangle rc
)

Visual Basic  Copy Code

Public Sub DrawString ( _
    s As String, _
    f As Font, _
    brush As Brush, _
    rc As Rectangle _
)

 Parameters

s
A string to draw.
f
A .NET Font object that defines the text format of the string.
brush
A .NET System.Drawing.Brush object that determines the color and texture of the drawn text.
rc
A .NET Rectangle structure that specifies the location of the drawn text.

 See Also