ASP.NET Pack Programmer's Guide
GdiGraphics.DrawString Method (String, Font, Brush, Single, Single)
See Also
 





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void DrawString (
    string s,
    Font font,
    Brush brush,
    float x,
    float y
)

Visual Basic  Copy Code

Public Overridable Sub DrawString( _
    s As String, _
    font As Font, _
    brush As Brush, _
    x As Single, _
    y As Single _
)

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

DrawString Method Overload List
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace