Free Support Forum - aspose.com

Measuring size of rendered text

Is there some way to figure out how much space a Text object (or any other object) will take up once it is rendered. For instance, a create a Text object that could have 1 to as many as 10 lines of text. Is there way a to set the text of this object and then check the actual width and height of the text object?

Thank you for considering Aspose.

Please refer to GetStringWidth.