|0||Bullet for a first level is disc.|
|1||Bullet for a first level is circle.|
|2||Bullet for a first level is square.|
|3||Bullet for a first level is diamond.|
|4||Bullet for a first level is arrow.|
|5||Bullet for a first level is checkmark.|
|6||The number of the first level is "a)".|
|7||The number of the first level is "1.".|
|8||The number of the first level is "1)".|
|9||The number of the first level is "I.".|
|10||The number of the first level is "A.".|
|11||The number of the first level is "a.".|
|12||The number of the first level is "i.".|
|13||List levels don't have symbols.|
List (for example, ordered - with numbers, or unordered - with bullets) appearance in GemBox.Document is defined through ListFormat class that is set on Paragraph's ListFormat property or ParagraphStyle's ListFormat property.
Paragraph's list (indentation) level can be adjusted with ListFormat.ListLevelNumber property. Paragraph's list-related formatting will then be collected from the ListLevelFormat instance contained in the ListStyle.ListLevelFormats at the position ListFormat.ListLevelNumber. This ListLevelFormat can also be retrieved from the ListFormat.ListLevelFormat property.
ListLevelFormat retrieved from the ListFormat.ListLevelFormat property can be additionally modified to enable overriding property values of ListLevelFormat instance contained in the ListStyle.ListLevelFormats at the position ListFormat.ListLevelNumber on a Paragraph or ParagraphStyle basis.
To create a list in a document, first ListStyle instance has to be created from one of the predefined list style types specified with enumeration. After that, ListFormat can be created with a specified ListStyle and assigned to a Paragraph's ListFormat property. For a complete example, see Lists example.
If document content or formatting is changed, then CalculateListItems method should be called again to retrieve the latest list items.
After calling Dispose on IEnumeratorT instance retrieved by calling GetEnumerator on instance returned from CalculateListItems method, paragraph's ListItem property will be even if paragraph's IsList is . This enables easy iteration over ListItems returned from CalculateListItems method by using foreach statement and removing all references to ListItems after the iteration is finished.