Redigera

Dela via


StylusPointCollection.InsertItem(Int32, StylusPoint) Method

Definition

Inserts the specified StylusPoint into the StylusPointCollection at the specified position.

protected:
 override void InsertItem(int index, System::Windows::Input::StylusPoint stylusPoint);
protected override sealed void InsertItem (int index, System.Windows.Input.StylusPoint stylusPoint);
override this.InsertItem : int * System.Windows.Input.StylusPoint -> unit
Protected Overrides NotOverridable Sub InsertItem (index As Integer, stylusPoint As StylusPoint)

Parameters

index
Int32

The position at which to insert the StylusPoint.

stylusPoint
StylusPoint

The StylusPoint to insert into the StylusPointCollection.

Exceptions

The StylusPointDescription of stylusPoint is not compatible with the Description property.

index is greater or equal to the number of StylusPoint objects in the StylusPointCollection.

Applies to