Share via


ITextRange.SetPoint(Point, PointOptions, Boolean) Method

Definition

Changes the text range based on the specified point.

public:
 void SetPoint(Point point, PointOptions options, bool extend);
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 value is 0.

Applies to

See also