ITextParagraphFormat.ListLevelIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the list level index used with paragraphs.
public:
property int ListLevelIndex { int get(); void set(int value); };
int ListLevelIndex();
void ListLevelIndex(int value);
public int ListLevelIndex { get; set; }
var int32 = iTextParagraphFormat.listLevelIndex;
iTextParagraphFormat.listLevelIndex = int32;
Public Property ListLevelIndex As Integer
Property Value
Int32
int
The list level index. It can be a value of 0 or higher, as described in the following table.
Value | Meaning |
---|---|
0 | No list. |
1 | First-level (outermost) list. |
2 | Second-level (nested) list. This is nested under a level 1 list item. |
3 | Third-level (nested) list. This is nested under a level 2 list item. |
And so on | Nesting continues similarly. |
Up to three levels are common in HTML documents.
Remarks
Setting the list level index doesn't automatically change a list's indentation and other paragraph properties.