StylusPointCollection::SetItem Method (Int32, StylusPoint)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the specified StylusPoint at the specified position.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- index
-
Type:
System::Int32
The position at which to set the StylusPoint.
- stylusPoint
-
Type:
System.Windows.Input::StylusPoint
The StylusPoint to set at the specified position.
| Exception | Condition |
|---|---|
| ArgumentException | The StylusPointDescription of stylusPoint is not compatible with the Description property. |
| ArgumentOutOfRangeException | index is greater than the number of StylusPoint objects in the StylusPointCollection. |
.NET Framework
Available since 3.0
Available since 3.0
Show: