Delen via


InkManager.SelectWithLine(Point, Point) Method

Definition

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Selects all strokes intersected by the new stroke.

Note

The Selected flag is reset for all other strokes in the collection.

public:
 virtual Rect SelectWithLine(Point from, Point to) = SelectWithLine;
Rect SelectWithLine(Point const& from, Point const& to);
public Rect SelectWithLine(Point from, Point to);
function selectWithLine(from, to)
Public Function SelectWithLine (from As Point, to As Point) As Rect

Parameters

from
Point

The start of the stroke.

to
Point

The end of the stroke.

Returns

The bounding rectangle of the selected ink strokes.

Implements

Applies to

See also