StylusPointCollection::SetItem Method (Int32, StylusPoint)

 

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.

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

protected:
virtual void SetItem(
	int index,
	StylusPoint stylusPoint
) override sealed

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
Return to top
Show: