Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingContext Interface / DrawText Method / DrawText(RichText,Rectangle,DrawingTextFormat) Method
Rectangle structure that specifies the boundary of the drawn text.


In This Topic
    DrawText(RichText,Rectangle,DrawingTextFormat) 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 richText As RichText, _
       ByVal rect As Rectangle, _
       Optional ByVal drawingTextFormat As DrawingTextFormat _
    ) 
    'Usage
     
    
    Dim instance As IDrawingContext
    Dim richText As RichText
    Dim rect As Rectangle
    Dim drawingTextFormat As DrawingTextFormat
     
    instance.DrawText(richText, rect, drawingTextFormat)

    Parameters

    richText
    rect
    Rectangle structure that specifies the boundary of the drawn text.
    drawingTextFormat
    See Also