Compartir a través de


DivisionResult.Strokes Property

Gets the Strokes collection that applies to this DivisionResult.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public ReadOnly Property Strokes As Strokes
'Usage
Dim instance As DivisionResult
Dim value As Strokes

value = instance.Strokes
public Strokes Strokes { get; }
public:
property Strokes^ Strokes {
    Strokes^ get ();
}
/** @property */
public Strokes get_Strokes ()
public function get Strokes () : Strokes
Not applicable.

Property Value

The Strokes collection that applies to this DivisionResult.

Remarks

The Strokes property of the DivisionResult object contains a copy of the Strokes collection in the Divider object at the time the DivisionResult object was created.

Example

This C# example loops through all the strokes in a DivisionResult object, theDivisionResult, and renders the strokes semi-transparent.

foreach (Stroke theStroke in theDivisionResult.Strokes)
{
    theStroke.DrawingAttributes.Transparency = 128;
}

This Microsoft® Visual Basic® .NET example loops through all the strokes in a DivisionResult object, theDivisionResult, and renders the strokes semi-transparent.

Dim theStroke As Stroke
For Each theStroke In theDivisionResult.Strokes
    theStroke.DrawingAttributes.Transparency = 128
Next

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

DivisionResult Class
DivisionResult Members
Microsoft.Ink Namespace
Strokes
Divider.Strokes