Home/ Reference/ Outline

shape.Outline.Style

Dash style (solid or one of the dashes).

Signature

shape.Outline.Style

Notes

Dash style (solid or one of the dashes).

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)

shape.Outline.Style = 1            # dash style (see cdrOutlineStyle)
print("Dash style code: ", shape.Outline.Style)

shape.Outline.Width = 1 / 25.4     # dash style only shows once the width is set

About this section: Outline

Outline — stroke width, style and color.

Other entries in this section