API Reference
WordListLevel
Represents a single level within a list and provides access to numbering and indentation settings.
Inheritance
- Object
- WordListLevel
Constructors
public WordListLevel(WordListLevelKind simplifiedListNumbers) #Initializes a new instance of the WordListLevel class based on an existing Open XML Level element.
Parameters
- level DocumentFormat.OpenXml.Wordprocessing.Level
- The underlying Open XML list level element.
WordListLevel(OfficeIMO.Word.WordListLevelKind simplifiedListNumbers) #Adds the level using custom simplified list number.
Parameters
- simplifiedListNumbers OfficeIMO.Word.WordListLevelKind
Exceptions
ArgumentOutOfRangeException
Methods
public WordListLevel SetStartNumberingValue(Int32 value) #WordListLevelSets the starting number for this level.
Parameters
- value System.Int32
- The starting number.
Returns
The current WordListLevel instance.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Level _level { get; set; } #Gets or sets the underlying Open XML list level element that backs this instance.
public Int32 StartNumberingValue { get; set; } #Gets or sets the start numbering value.
public Int32 IndentationLeft { get; set; } #Gets or sets the text indentation (left indentation) in twentieths of a point.
public Double IndentationLeftCentimeters { get; set; } #Gets or sets the text indentation (left indentation) in centimeters.
public Int32 IndentationHanging { get; set; } #Gets or sets the number position (hanging indentation) in twentieths of a point.
public Double IndentationHangingCentimeters { get; set; } #Gets or sets the number position (hanging indentation) in centimeters.
public String LevelText { get; set; } #Gets or sets the level text.
public LevelJustificationValues LevelJustification { get; set; } #Gets or sets the level justification.