Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StylusPointCollection Explicit Conversion (StylusPointCollection^ to array<Point>^)

 
equivalentCodeEntity

Converts a StylusPointCollection into a point array.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
static explicit operator array<Point>^ (
	StylusPointCollection^ stylusPoints
)

Parameters

stylusPoints
Type: System.Windows.Input::StylusPointCollection^

The stylus point collection to convert to a point array.

Return Value

Type: array<System.Windows::Point>^

A point array that contains points that correspond to each StylusPoint in the StylusPointCollection.

The following example demonstrates how to erase the strokes that are surrounded by a lasso. The example assumes that there is an InkPresenter called presenter.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft