Description
Returns the number of parameters of the style associated with the object (or -1 if no style is associated to the object).
Syntax
object.GetNPars |
object
Required. Object name, returned by Text.GetTextStyle and GetParaStyle.
Remarks
This script gets the current text style and display its number of parameters:
Dim objStyle = Text.GetTextStyle
msgbox ("Parameters=" & objStyle.GetNPars)