Spread WPF 18
GrapeCity.Drawing Namespace / IDrawingContext Interface / DrawText Method / DrawText(TextDocument,Rectangle) Method
The text to draw.
Rectangle structure that specifies the boundary of the drawn text.


In This Topic
    DrawText(TextDocument,Rectangle) Method
    In This Topic
    Draws the specified text string in the specified rectangle with the specified Brush and GrapeCity.Spreadsheet.Font objects.
    Syntax
    'Declaration
     
    Overloads Sub DrawText( _
       ByVal text As TextDocument, _
       ByVal rect As Rectangle _
    ) 
    'Usage
     
    Dim instance As IDrawingContext
    Dim text As TextDocument
    Dim rect As Rectangle
     
    instance.DrawText(text, rect)
    void DrawText( 
       TextDocument text,
       Rectangle rect
    )

    Parameters

    text
    The text to draw.
    rect
    Rectangle structure that specifies the boundary of the drawn text.
    See Also