nerdexam
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)
  • A
    74% (37)
  • B
    4% (2)
  • C
    8% (4)
  • D
    14% (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.

Full 98-374 Practice