CustomStrokes.Clear Method
Clears all the Strokes collections from the CustomStrokes collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub Clear
'Usage
Dim instance As CustomStrokes
instance.Clear()
public void Clear()
public:
void Clear()
public function Clear()
Examples
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();
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()
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0