Share via


CustomStrokes.Clear Method

CustomStrokes.Clear Method

Clears all the Strokes collections from the CustomStrokes collection.

Definition

Visual Basic .NET Public Sub Clear()
C# public void Clear();
Managed C++ public: void Clear();

Examples

[C#]

This C# example removes all the Strokes collections from the CustomStrokes collection of the Ink object associated with an InkCollector object, theInkCollector.

theInkCollector.Ink.CustomStrokes.Clear();
                

[VB.NET]

This Microsoft® Visual Basic® .NET example removes all the Strokes collections from the CustomStrokes collection of the Ink object associated with an InkCollector object, theInkCollector.

theInkCollector.Ink.CustomStrokes.Clear()
                

See Also