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