Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / DrawString Method / DrawString(String,Rectangle) Method
The string the draw.
A System.Drawing.Rectangle structure representing the rectangle in which to draw the string.


In This Topic
    DrawString(String,Rectangle) Method
    In This Topic
    Draws the string in the specified rectangle.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawString( _
       ByVal s As String, _
       ByVal rectangle As Rectangle _
    ) 
    'Usage
     
    Dim instance As SmartPaint
    Dim s As String
    Dim rectangle As Rectangle
     
    instance.DrawString(s, rectangle)
    public void DrawString( 
       string s,
       Rectangle rectangle
    )

    Parameters

    s
    The string the draw.
    rectangle
    A System.Drawing.Rectangle structure representing the rectangle in which to draw the string.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also