Home/ Reference/ Text

shape.Text.IsParagraphText

True if it's paragraph text that wraps inside a box.

Signature

shape.Text.IsParagraphText

Notes

True if it's paragraph text that wraps inside a box.

Python example (runnable)

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

if shape.Text.IsParagraphText:     # paragraph text = wraps inside its frame
    print("Paragraph text, lines: ", shape.Text.Story.Lines.Count)
else:
    print("artistic")

About this section: Text

Text — artistic and paragraph text.

Other entries in this section