Strokes.Add Method (Strokes)
Adds a Strokes collection to the Strokes collection.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Sub Add ( _
strokes As Strokes _
)
'Usage
Dim instance As Strokes
Dim strokes As Strokes
instance.Add(strokes)
public void Add (
Strokes strokes
)
public:
void Add (
Strokes^ strokes
)
public void Add (
Strokes strokes
)
public function Add (
strokes : Strokes
)
Not applicable.
Parameters
- strokes
The Strokes collection to add to the Strokes collection.
Remarks
The Stroke object must already exist within the Ink object and cannot belong to another Ink object. In addition, this method does not copy or otherwise alter the Ink object, but merely adds this Stroke to the Strokes collection.
Example
This C# example adds the Strokes object, theNewStrokes
to the Strokes collection in the Ink object, theInk
.
theInk.Strokes.Add(theNewStrokes);
This Microsoft Visual Basic.NET example adds the Strokes object, theNewStrokes
to the Strokes collection in the Ink object, theInk
.
theInk.Strokes.Add(theNewStrokes)
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
Strokes Class
Strokes Members
Microsoft.Ink Namespace
Stroke