MeasureString Method

SpriteFont.MeasureString Method

Returns the height and width of a given string.

NameDescription
SpriteFont.MeasureString (String)Returns the height and width of a given string as a Vector2.
SpriteFont.MeasureString (StringBuilder)Returns the height and width of a mutable string as a Vector2.

Community Additions

ADD
Show:
© 2016 Microsoft