Delen via


RichEditTextRange.SetPoint(Point, PointOptions, Boolean) Method

Definition

Changes the text range based on the specified point.

public:
 virtual void SetPoint(Point point, PointOptions options, bool extend) = SetPoint;
void SetPoint(Point const& point, PointOptions const& options, bool const& extend);
public void SetPoint(Point point, PointOptions options, bool extend);
function setPoint(point, options, extend)
Public Sub SetPoint (point As Point, options As PointOptions, extend As Boolean)

Parameters

point
Point

An ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimensional plane.

options
PointOptions

The alignment type of the specified point.

extend
Boolean

bool

Indicates how to set the endpoints of the text range. If extend is 0, the text range is an insertion point located at the specified point, or at the nearest point with selectable text. If extend is 1, the endpoint specified by options is moved to the point and the other endpoint is left alone. The default is 0.

Implements

M:Windows.UI.Text.ITextRange.SetPoint(Windows.Foundation.Point,Windows.UI.Text.PointOptions,System.Boolean) M:Windows.UI.Text.ITextRange.SetPoint(Windows.Foundation.Point,Windows.UI.Text.PointOptions,bool)

Applies to