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 As TextDocument, _
ByVal As Rectangle _
)
'Usage
Dim instance As IDrawingContext
Dim text As TextDocument
Dim rect As Rectangle
instance.DrawText(text, rect)
void DrawText(
TextDocument ,
Rectangle
)
Parameters
- text
- The text to draw.
- rect
- Rectangle structure that specifies the boundary of the drawn text.
See Also