[]
Gets the rectangle in which text is drawn.
protected void GetTextRectangle(Graphics g, Rectangle r, Font f, Appearance appearance, ref Rectangle rText, string paintString)
Protected Sub GetTextRectangle(g As Graphics, r As Rectangle, f As Font, appearance As Appearance, ByRef rText As Rectangle, paintString As String)
| Type | Name | Description |
|---|---|---|
| Graphics | g | Graphics device interface for painting the text |
| Rectangle | r | Cell rectangle |
| Font | f | Font |
| Appearance | appearance | Appearance settings of the rectangle |
| Rectangle | rText | Text rectangle returned |
| string | paintString | String to be painted |