StylusPointCollection Constructor (IEnumerable<StylusPoint>^)
.NET Framework (current version)
Initializes a new instance of the StylusPointCollection class with the specified StylusPoint objects.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- stylusPoints
-
Type:
System.Collections.Generic::IEnumerable<StylusPoint>^
A generic IEnumerable of type StylusPoint to add to the StylusPointCollection.
| Exception | Condition |
|---|---|
| ArgumentNullException | stylusPoints is null. |
| ArgumentException | The length of points is 0. -or- The StylusPoint objects in stylusPoints have incompatible StylusPointDescription objects. |
The following example creates a StylusPointCollection.
.NET Framework
Available since 3.0
Available since 3.0
Show: