Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the width and height of a string.
Overload List
| Name | Description |
|---|---|
| SpriteFont.MeasureString (String) | Returns the width and height of a string as a Vector2. |
| SpriteFont.MeasureString (StringBuilder) | Returns the width and height of a string as a Vector2. |
See Also
Reference
SpriteFont Class
SpriteFont Members
Microsoft.Xna.Framework.Graphics Namespace