Font.MeasureString Method |
Language: |
Measures the rectangular dimensions of the specified text string when drawn with the specified Sprite object and formatted with the specified DrawTextFormat method of formatting text.
public Rectangle MeasureString(Sprite, string, DrawTextFormat, Color); public Rectangle MeasureString(Sprite, string, DrawTextFormat, int);
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.