The Style object provides control of the typographical styles.
Edit Method | Edits the parameters of the style using a dialog. |
GetIsParaStyle Method | Returns true if the style is a paragraph style. |
GetIsTextStyle Method | Returns true if the style is a text style. |
GetNPars Method | Returns the number of parameters of the style. |
GetParType Method | Returns the type of the nIdx parameter of the style. |
GetName Method | Returns the tag name of the style. |
GetDescription Method | Returns the style name of the style. |
GetFitName Method | Returns the name of the default copy-fit parameters set to strecth/shrink the paragraph. |
GetMaxLines Method | Returns maximum allowed number of lines specified in the style. |
GetMinLines Method | Returns minimum allowed number of lines specified in the style. |
GetNextStyleName Method | Returns the tag name of the next paragraph style. |
GetFill Method | Returns the status of the last line fill option. |
GetPar Method | Returns the value of the nIdx parameter of the style. |
GetXMLOutput Method | Returns the content of the XML Output. |
Select Method | Selects a style using a dialog and associates it to the object. |
SetName Method | Sets the tag name of the style |
SetPar Method | Sets the value of the nIdx parameter of the style. |
To create a Style object:
•Dim objStyle = Text.GetTextStyle ' for text style
•Dim objStyle = Text.GetParaStyle ' for paragraph style
See also