Jaa


ITextParagraphFormat.ListLevelIndex Property

Definition

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.

ValueMeaning
0No list.
1First-level (outermost) list.
2Second-level (nested) list. This is nested under a level 1 list item.
3Third-level (nested) list. This is nested under a level 2 list item.
And so onNesting 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.

Applies to