Share via


DivisionResult.Strokes Property

DivisionResult.Strokes Property

Gets the Strokes collection that applies to this DivisionResult.

Definition

Visual Basic .NET Public ReadOnly Property Strokes As Strokes
C# public Strokes Strokes { get; }
Managed C++ public: __property Strokes* get_Strokes();

Property Value

Microsoft.Ink.Strokes. The Strokes collection that applies to this DivisionResult.

This property is read-only. This property has no default value.

Remarks

If the DivisionResult is created by the Divide method of an Divider object, then the Strokes property is identical to the Strokes property of the Divider object.

Examples

[C#]

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

[Visual Basic .NET]

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

See Also