Shape.CalculateTextSize

Shape.CalculateTextSize method

Recalculate the text area

public int[] CalculateTextSize()

Return Value

Text’s Size in an array(width and height).

Examples


[C#]
//The size of the text area is:w=size[0],h=size[1]
int[] size = shape.CalculateTextSize();

See Also