Skip to main content

ApiNumberingLevel

Represents the ApiNumberingLevel class.

Methods

MethodReturnsDescription
GetClassType"numberingLevel"Returns a type of the ApiNumberingLevel class.
GetLevelIndexnumberReturns the level index.
GetNumberingApiNumberingReturns the numbering definition.
GetParaPrApiParaPrReturns the paragraph properties which are applied to any numbered paragraph that references the given numbering definition and numbering level.
GetTextPrApiTextPrSpecifies the text properties which will be applied to the text in the current numbering level itself, not to the text in the subsequent paragraph.\ 💡 To change the text style of the paragraph, a style must be applied to it using the ApiRun#SetStyle method.
LinkWithStyleNoneLinks the specified paragraph style with the current numbering level.
SetCustomTypeNoneSets your own customized numbering type.
SetRestartNoneSpecifies a one-based index which determines when a numbering level should restart to its starting value. A numbering level restarts when an instance of the specified numbering level which is higher (earlier than this level) is used in the given document contents. By default this value is true.
SetStartNoneSpecifies the starting value for the numbering used by the parent numbering level within a given numbering level definition. By default this value is 1.
SetSuffNoneSpecifies the content which will be added between the given numbering level text and the text of every numbered paragraph which references that numbering level. By default this value is "tab".
SetTemplateTypeNoneSets one of the existing predefined numbering templates.