ExpandStyle Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:19

Description

Expand the current style into basic tags. Works in pair with CreateStyle method.

Note: although it will expand also the variable styles, at the present time they cannot be saved by CreateStyle.

After the tags are expanded by ExpandStyle, GN4 does not recognize anymore the paragraph style. Normally, when you use CreateStyle Function to update the expanded style, this will display an empty style creation dialog and you will have to re-type all data about the style: the style tag name, the style name, the next paragraph style etc.

Syntax

Text.ExpandStyle (isParagraph)

isParagraph

True for paragraph styles, False for character styles.

Context

Text designer commands

See also

CreateStyle, DeleteStyle