API Reference
Class
WordListNumbering
Provides helper methods to manage numbering definitions for lists within a document. Levels can be added or removed and the numbering updated to match the Open XML specification.
Inheritance
- Object
- WordListNumbering
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public Void AddLevel(WordListLevel wordListLevel) #Returns:
VoidAdds the level using custom simplified list number.
Parameters
- wordListLevel OfficeIMO.Word.WordListLevel
- The word list level.
public static WordListNumbering CreateNumberingDefinition(WordDocument document) #Returns:
WordListNumberingCreates a new numbering definition within the specified document.
Parameters
- document OfficeIMO.Word.WordDocument
- The parent document.
Returns
The created WordListNumbering.
public static WordListNumbering GetNumberingDefinition(WordDocument document, Int32 abstractNumberId) #Returns:
WordListNumberingRetrieves a numbering definition from the document by its identifier.
Parameters
- document OfficeIMO.Word.WordDocument
- The parent document.
- abstractNumberId System.Int32
- The abstract numbering identifier.
Returns
The WordListNumbering if found; otherwise, null.
public Void RemoveAllLevels() #Returns:
VoidRemoves all levels to reset the numbering and start from scratch.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object