RotatedBounds Method

         Example         Applies To

Returns the coordinates of the vertices of the text bounding box for the specified text range.

Syntax

expression.RotatedBounds(X1, Y1, X2, Y2, X3, Y3, X4, Y4)

expression   Required. An expression that returns a TextRange object.

X1, Y1   Required Single. Returns the position (in points) of the first vertex of the bounding box for the text within the specified text range.

X2, Y2   Required Single. Returns the position (in points) of the second vertex of the bounding box for the text within the specified text range.

X3, Y3   Required Single. Returns the position (in points) of the third vertex of the bounding box for the text within the specified text range.

X4, Y4   Required Single. Returns the position (in points) of the fourth vertex of the bounding box for the text within the specified text range.