Home/ Reference/ Outline

shape.Outline.LineCaps

Line caps. 1 = round, 0 flat, 2 square.

Signature

shape.Outline.LineCaps

Notes

Line caps. 1 = round, 0 flat, 2 square.

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.LineCaps = 1         # cap: 0=flat 1=round 2=square
print("Cap style: ", shape.Outline.LineCaps)

About this section: Outline

Outline — stroke width, style and color.

Other entries in this section