WebPlanner Programmer's Guide

GraphicsEx.DrawString Method (String, Font, Brush, Point)

See Also
 


Draws the specified text string at the specified location 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,
    Point pt
)

Visual Basic  Copy Code

Public Sub DrawString ( _
    s As String, _
    f As Font, _
    brush As Brush, _
    pt As Point _
)

 Parameters

s
The 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.
pt
A .NET Point structure that specifies the upper-left corner of the drawn text.

 See Also