How to set the text property to Line Spacing?

fedor biryukov

How to set the text property to Line Spacing?

How to set the text property to Line Spacing? In drafting, text has the properties of Line Spacing and Line Spacing mode. They are available in the properties interface under the text tab. How to access them from the script?