Share via


TextRange.RotatedBounds Method

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub RotatedBounds ( _
    <OutAttribute> ByRef X1 As Single, _
    <OutAttribute> ByRef Y1 As Single, _
    <OutAttribute> ByRef X2 As Single, _
    <OutAttribute> ByRef Y2 As Single, _
    <OutAttribute> ByRef X3 As Single, _
    <OutAttribute> ByRef Y3 As Single, _
    <OutAttribute> ByRef x4 As Single, _
    <OutAttribute> ByRef y4 As Single _
)
'Usage
Dim instance As TextRange
Dim X1 As Single
Dim Y1 As Single
Dim X2 As Single
Dim Y2 As Single
Dim X3 As Single
Dim Y3 As Single
Dim x4 As Single
Dim y4 As Single

instance.RotatedBounds(X1, Y1, X2, Y2, X3, _
    Y3, x4, y4)
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
)

Parameters

  • X1
    Type: System.Single
    Returns the position (in points) of the first vertex of the bounding box for the text within the specified text range.
  • Y1
    Type: System.Single
    Returns the position (in points) of the first vertex of the bounding box for the text within the specified text range.
  • X2
    Type: System.Single
    Returns the position (in points) of the second vertex of the bounding box for the text within the specified text range.
  • Y2
    Type: System.Single
    Returns the position (in points) of the second vertex of the bounding box for the text within the specified text range.
  • X3
    Type: System.Single
    Returns the position (in points) of the third vertex of the bounding box for the text within the specified text range.
  • Y3
    Type: System.Single
    Returns the position (in points) of the third vertex of the bounding box for the text within the specified text range.
  • x4
    Type: System.Single
    Returns the position (in points) of the fourth vertex of the bounding box for the text within the specified text range.
  • y4
    Type: System.Single
    Returns the position (in points) of the fourth vertex of the bounding box for the text within the specified text range.

See Also

Reference

TextRange Interface

TextRange Members

Microsoft.Office.Interop.PowerPoint Namespace