Description
Sets a paragraph or a character style, or a chained paragraph style, by its partial or exact tag name.
To set a paragraph style by its style name, use EditParaStyle.
Available in 2.0 or newer.
Syntax
Text.SetStyleEx (boolPara, sName, boolParaChain, boolExact) |
boolPara
True to apply a paragraph style, false to apply a character style
sName
Style tag name
boolParaChain
True to apply chained paragraph styles to all selected paragraphs
boolExact
True to match the exact name of the sName style, otherwise select the first style found with name starting with sName value.
Return value
Error code
Context
Text designer commands
See also