Redigera

Dela via


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
Protected Overrides NotOverridable Sub SetItem (index As Integer, stroke As Stroke)

Parameters

index
Int32

The position at which to replace the stroke.

stroke
Stroke

The stroke to replace the current stroke.

Applies to