RichEditTextRange.GetPoint 方法

定义

检索文本范围内特定位置的屏幕坐标。

public:
 virtual void GetPoint(HorizontalCharacterAlignment horizontalAlign, VerticalCharacterAlignment verticalAlign, PointOptions options, [Out] Point & point) = GetPoint;
void GetPoint(HorizontalCharacterAlignment const& horizontalAlign, VerticalCharacterAlignment const& verticalAlign, PointOptions const& options, [Out] Point & point);
public void GetPoint(HorizontalCharacterAlignment horizontalAlign, VerticalCharacterAlignment verticalAlign, PointOptions options, out Point point);
Public Sub GetPoint (horizontalAlign As HorizontalCharacterAlignment, verticalAlign As VerticalCharacterAlignment, options As PointOptions, ByRef point As Point)

参数

horizontalAlign
HorizontalCharacterAlignment

要检索的水平位置,相对于文本范围的边框。

verticalAlign
VerticalCharacterAlignment

要检索的垂直位置,相对于文本范围的边框。

options
PointOptions

用于检索文本范围中指定位置的坐标的选项。

point
Point

一种结构,它接收文本范围中指定位置的坐标,表示为一对有序的浮点 x 坐标和 y 坐标,用于定义二维平面中的点。

实现

适用于