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






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

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 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 Microsoft.Maui.Graphics.Rect that specifies the location of the drawn text.

 See Also