ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / RawDeviceContext 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 (RawDeviceContext)
    In This Topic
    Draws formatted text in the specified rectangle.
    Syntax
    'Declaration
     
    
    Public Sub DrawText( _
       ByVal text As String, _
       ByVal rectangle As Rectangle, _
       ByVal format As TextFormat _
    ) 
    public void DrawText( 
       string text,
       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