StrokeCollection.SetItem(Int32, Stroke) StrokeCollection.SetItem(Int32, Stroke) StrokeCollection.SetItem(Int32, Stroke) Method

Definition

Replaces the stroke at the specified index.

protected:
 override void SetItem(int index, System::Windows::Ink::Stroke ^ stroke);
protected override sealed void SetItem (int index, System.Windows.Ink.Stroke stroke);
override this.SetItem : int * System.Windows.Ink.Stroke -> unit

Parameters

index
Int32 Int32 Int32

The position at which to replace the stroke.

stroke
Stroke Stroke Stroke

The stroke to replace the current stroke.

Applies to