Skip to content

Stroke Property

Description

Gets or sets the MarkupBrush that specifies how the Shape outline is painted.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Stroke() As [MarkupBrush](XtremeMarkup~MarkupBrush.md)

Return Type

A MarkupBrush that specifies how the Shape outline is painted.

Remarks

The CreateSolidBrush method is used to create a solid color brush to paint the shape element outline.

For example:

Ellipse1.Stroke = Context.CreateSolidBrush(vbYellow)

Note that CreateSolidBrush creates a MarkupSolidColorBrush object that stores the color value.

To retrieve the current color, use the MarkupSolidColorBrush.Color property.

For example:

Print Ellipse1.Stroke.Color

See Also

MarkupPath Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.