Class
WordListLevel
OfficeIMO.Word
Represents a single level within a list and provides access to numbering and indentation settings.
Inheritance
- object
- WordListLevel
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Method WordList.AddListLevel
- Method WordListLevel.SetStartNumberingValue
- Method WordListNumbering.AddLevel
- Property WordListNumbering.Levels
Accepted by parameters 1
- Method WordListNumbering.AddLevel
Constructors
public WordListLevel(WordListLevelKind simplifiedListNumbers) #Adds the level using custom simplified list number.
Parameters
- simplifiedListNumbers OfficeIMO.Word.WordListLevelKind
Exceptions
ArgumentOutOfRangeException
Methods
public WordListLevel SetStartNumberingValue(int value) #Sets the starting number for this level.
Parameters
- value int
- The starting number.
Examples
WordList list = document.AddCustomList();
WordListLevel level = new WordListLevel(WordListLevelKind.Decimal)
.SetStartNumberingValue(3);
list.Numbering.AddLevel(level);
list.AddItem("Starts at three");Inherited Methods
Properties
public int StartNumberingValue { get; set; } #Gets or sets the start numbering value.
public WordNumberFormat NumberFormat { get; set; } #Gets or sets the numbering format of this list level.
public OfficeLength IndentationLeft { get; set; } #Gets or sets the physical text indentation for this level.
public OfficeLength IndentationHanging { get; set; } #Gets or sets the physical number position for this level.
public WordListLevelAlignment LevelJustification { get; set; } #Gets or sets the level justification.
public WordListLevelSuffix LevelSuffix { get; set; } #Gets or sets the suffix placed after the numbering marker.