Home/ Reference/ Outline

shape.Outline.Color.RGBAssign(r, g, b)

Outline color in RGB.

Signature

shape.Outline.Color.RGBAssign(r, g, b)

Notes

Outline color in RGB.

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.Color.RGBAssign(230, 30, 30)     # outline to red
print("Outline colour: ", shape.Outline.Color.HexValue)

About this section: Outline

Outline — stroke width, style and color.

Other entries in this section