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 Constructor (IEnumerable<StylusPoint>^)

 

Initializes a new instance of the StylusPointCollection class with the specified StylusPoint objects.

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

public:
StylusPointCollection(
	IEnumerable<StylusPoint>^ stylusPoints
)

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.

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