Share via


AddStylusPoints

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Adds a collection of StylusPoint objects to the collection.

retval = object.AddStylusPoints(stylusPoints)

Arguments

stylusPoints

StylusPointCollection

The collection of StylusPoint objects to add to the collection.

Return Value

Type: integer

The zero-based integer value that is the index of the last element in the StylusPointCollection, or -1 if the collection is empty.

Managed Equivalent

StylusPointCollection.Add.

Remarks

A StylusPointCollection can belong to more than one Stroke object.

Applies To

StrokeCollection