Home/ Reference/ Outline

shape.Outline.Visible

On/off switch.

Signature

shape.Outline.Visible

Notes

On/off switch.

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.Visible = False      # hide the outline without losing the width
print("Outline hidden")

shape.Outline.Visible = True       # restore
print("Outline restored")

About this section: Outline

Outline — stroke width, style and color.

Other entries in this section