Home/ Reference/ Text

shape.Text.Story.LineSpacing

Line spacing. Paragraph text needs this one.

Signature

shape.Text.Story.LineSpacing

Notes

Line spacing. Paragraph text needs this one.

Python example (runnable)

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

shape.Text.Story.LineSpacing = 120   # line spacing, in percent; this is the one for paragraph text
print("Line spacing: ", shape.Text.Story.LineSpacing)

About this section: Text

Text — artistic and paragraph text.

Other entries in this section