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





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

void DrawString (
    string s,
    Font font,
    Brush brush,
    RectangleF layoutRectangle
)

Visual Basic  Copy Code

Sub DrawString( _
    s As String, _
    font As Font, _
    brush As Brush, _
    layoutRectangle As RectangleF _
)

 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.
layoutRectangle
A .NET RectangleF structure that specifies the location of the drawn text.

 See Also