Home/ Reference/ TextRange

rng.Size

Font size in points, not doc.Unit.

Signature

rng.Size

Notes

Font size in points, not doc.Unit.

Python example (runnable)

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

ca.Size = 85                               # size in points
print("Font size: ", ca.Size)

About this section: TextRange

TextRange — character ranges inside a text object.

Other entries in this section