共用方式為


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 座標的已排序配對表示,以定義二維平面中的點。

實作

適用於