Home/ Reference/ Shape Appearance

shape.Outline

The outline object. See the Outline section.

Signature

shape.Outline

Notes

The outline object. See the Outline section.

Python example (runnable)

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

print("Outline width: ", shape.Outline.Width)       # same unit as the document
print("Has outline: ", shape.Outline.Width > 0)

About this section: Shape Appearance

Shape Appearance — outline, fill and transparency shortcuts.

Other entries in this section