FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / TextCellType Class / GetTextRectangle Method
Graphics device interface for painting the text
Cell rectangle
Font
Appearance settings of the rectangle
Text rectangle returned
String to be painted


In This Topic
GetTextRectangle Method (TextCellType)
In This Topic
Gets the rectangle in which text is drawn.
Syntax
'Declaration
 
Protected Shadows Sub GetTextRectangle( _
   ByVal g As Graphics, _
   ByVal r As Rectangle, _
   ByVal f As Font, _
   ByVal appearance As Appearance, _
   ByRef rText As Rectangle, _
   ByVal paintString As String _
) 
 
'Usage
 
Dim instance As TextCellType
Dim g As Graphics
Dim r As Rectangle
Dim f As Font
Dim appearance As Appearance
Dim rText As Rectangle
Dim paintString As String
 
instance.GetTextRectangle(g, r, f, appearance, rText, paintString)

Parameters

g
Graphics device interface for painting the text
r
Cell rectangle
f
Font
appearance
Appearance settings of the rectangle
rText
Text rectangle returned
paintString
String to be painted
See Also