Edit

Share via


TextRange2.RotatedBounds Method

Definition

Gets the coordinates of the vertices of the text bounding box for the specified text range. Read-only.

public:
 void RotatedBounds([Runtime::InteropServices::Out] float % X1, [Runtime::InteropServices::Out] float % Y1, [Runtime::InteropServices::Out] float % X2, [Runtime::InteropServices::Out] float % Y2, [Runtime::InteropServices::Out] float % X3, [Runtime::InteropServices::Out] float % Y3, [Runtime::InteropServices::Out] float % x4, [Runtime::InteropServices::Out] float % y4);
public void RotatedBounds (out float X1, out float Y1, out float X2, out float Y2, out float X3, out float Y3, out float x4, out float y4);
abstract member RotatedBounds : single * single * single * single * single * single * single * single -> unit
Public Sub RotatedBounds (ByRef X1 As Single, ByRef Y1 As Single, ByRef X2 As Single, ByRef Y2 As Single, ByRef X3 As Single, ByRef Y3 As Single, ByRef x4 As Single, ByRef y4 As Single)

Parameters

X1
Single

Returns the position (in points) of the X coordinate of the first vertex of the bounding box for the text within the specified text range.

Y1
Single

Returns the position (in points) of the Y coordinate of the first vertex of the bounding box for the text within the specified text range.

X2
Single

Returns the position (in points) of the X coordinate of the second vertex of the bounding box for the text within the specified text range.

Y2
Single

Returns the position (in points) of the Y coordinate of the second vertex of the bounding box for the text within the specified text range.

X3
Single

Returns the position (in points) of the X coordinate of the third vertex of the bounding box for the text within the specified text range.

Y3
Single

Returns the position (in points) of the Y coordinate of the third vertex of the bounding box for the text within the specified text range.

x4
Single

Returns the position (in points) of the X coordinate of the fourth vertex of the bounding box for the text within the specified text range.

y4
Single

Returns the position (in points) of the Y coordinate of the fourth vertex of the bounding box for the text within the specified text range.

Remarks

The text bounding box is not the same as the TextFrame2 object. The TextFrame2 object represents the container in which the text can reside. The text bounding box represents the perimeter immediately surrounding the text.

Applies to