TextRange2.RotatedBounds 方法

定义

获取指定文本范围的文本边界框的顶点坐标。 只读。

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)

参数

X1
Single

返回指定文本范围内文本边界框的第一个顶点的 X 坐标位置(以磅为单位)。

Y1
Single

返回指定文本范围内文本边界框的第一个顶点的 Y 坐标位置(以磅为单位)。

X2
Single

返回指定文本范围内文本边界框的第二个顶点的 X 坐标位置(以磅为单位)。

Y2
Single

返回指定文本范围内文本边界框的第二个顶点的 Y 坐标位置(以磅为单位)。

X3
Single

返回指定文本范围内文本边界框的第三个顶点的 X 坐标位置(以磅为单位)。

Y3
Single

返回指定文本范围内文本边界框的第三个顶点的 Y 坐标位置(以磅为单位)。

x4
Single

返回指定文本范围内文本边界框的第四个顶点的 X 坐标位置(以磅为单位)。

y4
Single

返回指定文本范围内文本边界框的第四个顶点的 Y 坐标位置(以磅为单位)。

注解

文本边界框与 对象不同 TextFrame2TextFrame2 对象表示文本可以驻留的容器。 文本边界框表示紧挨着文本的外围。

适用于