Home/ Reference/ Outline

shape.Outline.StartArrow / .EndArrow

Start and end arrowheads.

Signature

shape.Outline.StartArrow / .EndArrow

Notes

Start and end arrowheads.

Python example (runnable)

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

try:
    o.StartArrow = 1               # start arrow (0 = none)
    o.EndArrow   = 1               # end arrow
    print("Arrow added")
except Exception as e:
    print("Arrow API unavailable: ", e)

About this section: Outline

Outline — stroke width, style and color.

Other entries in this section