ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi.DeviceContexts Namespace / DeviceContext Class / DrawText Method
The string that specifies the text to be drawn.
Contains the rectangle in which the text is to be formatted.
Specifies the method of formatting the text.

In This Topic
    DrawText Method
    In This Topic
    Draws formatted text in the specified rectangle.
    Syntax
    'Declaration
     
    Public Sub DrawText( _
       ByVal text As System.String, _
       ByVal rectangle As System.Drawing.Rectangle, _
       ByVal format As TextFormat _
    ) 
    public void DrawText( 
       System.string text,
       System.Drawing.Rectangle rectangle,
       TextFormat format
    )

    Parameters

    text
    The string that specifies the text to be drawn.
    rectangle
    Contains the rectangle in which the text is to be formatted.
    format
    Specifies the method of formatting the text.
    See Also