This topic has not yet been rated - Rate this topic

SpriteFont.MeasureString Method

Returns the width and height of a string.
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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ