单项选择题

取文本内容的宽和高时,需要用到的方法是(    )。
A、getTextBounds()
B、getText()
C、getTextBound()
D、getString()