StylusPointCollection Constructor (IEnumerable<Point>^)

 

Initializes a new instance of the StylusPointCollection class with specified points.

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

public:
StylusPointCollection(
	IEnumerable<Point>^ points
)

Parameters

points
Type: System.Collections.Generic::IEnumerable<Point>^

A generic IEnumerable of type Point that specifies the StylusPoint objects to add to the StylusPointCollection.

Exception Condition
ArgumentNullException

points is null.

ArgumentException

The length of points is 0.

The following example creates a StylusPointCollection.

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

.NET Framework
Available since 3.0
Return to top
Show: