OfficeIMO

API Reference

Class

WordListLevel

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word

Represents a single level within a list and provides access to numbering and indentation settings.

Inheritance

  • Object
  • WordListLevel

Constructors

WordListLevel 2 overloads
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 requiredposition: 0
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 required

Exceptions

  • ArgumentOutOfRangeException

Methods

public Void Remove() #
Returns: Void

Removes this level from the list.

public WordListLevel SetStartNumberingValue(Int32 value) #
Returns: WordListLevel

Sets the starting number for this level.

Parameters

value System.Int32 requiredposition: 0
The starting number.

Returns

The current WordListLevel instance.

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.