The Style object represents a typographical style, i.e. either a text style or a paragraph style.
Style object can be obtained from a text being edited using the GetTextStyle and GetParaStyle functions, e.g:
Dim objStyle = Text.GetTextStyle ' for text style
Dim objStyle = Text.GetParaStyle ' for paragraph style
A Style object is usually associated with a typographical (GNML) style and has a number of properties and functions to query and modify the style attributes.
Style object created using GetTextStyle and GetParaStyle is automatically attached to the current text.
The styles are applied to text by Text.SetParaStyle (objStyle) and Text.SetTextStyle (objStyle) built-in commands.