Microsoft
98-374 · Question #133
Which XNA method should you use to get the height and width of text rendered with a SpriteFont?
The correct answer is A. MeasureString. us/library/microsoft.xna.framework.graphics.spritefont.measurestring.aspx
Understanding Game Programming
Question
Which XNA method should you use to get the height and width of text rendered with a SpriteFont?
Options
- AMeasureString
- BGetRect
- CGetSpacing
- DBounds
How the community answered
(50 responses)- A74% (37)
- B4% (2)
- C8% (4)
- D14% (7)
Explanation
us/library/microsoft.xna.framework.graphics.spritefont.measurestring.aspx
Topics
#XNA#SpriteFont#text rendering#MeasureString
Community Discussion
No community discussion yet for this question.