[]
Measures the specified text string when drawn with the specified GrapeCity.Spreadsheet.Font.
public abstract Size MeasureText(string text, Font font, Size limitSize = default, bool wrapText = false)
Public MustOverride Function MeasureText(text As String, font As Font, Optional limitSize As Size = Nothing, Optional wrapText As Boolean = False) As Size
Type | Name | Description |
---|---|---|
string | text | The string to measures. |
Font | font | GrapeCity.Spreadsheet.Font that defines the text format of the string. |
Size | limitSize | The limit size. |
bool | wrapText | The wrapText |
Type | Description |
---|---|
Size | A Size object. |