Sdílet prostřednictvím


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 ();
}
public function get Strokes () : Strokes

Property Value

Type: Microsoft.Ink.Strokes
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.

Examples

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 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

See Also

Reference

DivisionResult Class

DivisionResult Members

Microsoft.Ink Namespace

Strokes

Divider.Strokes