Text |
Get the width of a text string.
The width of a text string as if it would be shown with the current settings.public double GetWidth( string text )
| Exception | Condition |
|---|---|
| InvalidOperationException | if the object has already been closed |
| InvalidOperationException | if the underlying text object has already been closed |
| ArgumentException | if the text argument is |