Home/ Reference/ Outline

shape.Outline.Justification

Where the outline sits relative to the path. Setting 2 on text puts the outline on the outside — that's how you give text a black edge without eating into the glyphs

Signature

shape.Outline.Justification

Notes

Where the outline sits relative to the path. Setting 2 on text puts the outline on the outside — that's how you give text a black edge without eating into the glyphs.

Python example (runnable)

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

# outline position. For text use 2 (outside) or the edge eats the glyph
shape.Outline.Justification = 2
print("Outline position: ", shape.Outline.Justification)

About this section: Outline

Outline — stroke width, style and color.

Other entries in this section