Home/ Reference/ Text

shape.Text.IsArtisticText

True if it's artistic text (a single-line heading).

Signature

shape.Text.IsArtisticText

Notes

True if it's artistic text (a single-line heading).

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.IsArtisticText:      # artistic text = a single line that grows with its content
    print("This is artistic text, a headline")
else:
    print("This is paragraph text, so it wraps")

About this section: Text

Text — artistic and paragraph text.

Other entries in this section