Thetype exposes the following members.
Gets or sets the horizontal alignment used on a list level's text specified in the NumberFormat property within a given list level.
Gets or sets the ParagraphStyle which shall use this list level when applied to the contents of the document.
Gets or sets a picture which shall be used as a list symbol for a given list level.
Gets or sets the character format which shall be applied to the list level's text specified in the NumberFormat property when it is applied to paragraphs in this document.
Gets the owner document.(Inherited from Format.)
Gets the level of this.
Gets or sets a value which specifies the textual content which shall be displayed when displaying a paragraph with the given list level.
Gets or sets the position (in points) of the number or bullet for the list level.
Gets or sets the number style.
Gets the paragraph format which shall be applied as part of a given list level. This paragraph format is applied to any numbered paragraph that uses this list level.
Gets or sets the list level that must appear before the specified list level restarts numbering.
Gets or sets the starting number for this list level.
Gets or sets the position (in points) of the text.
Gets or sets the value which specifies the content which shall be added between a given list level's text specified in the NumberFormat property and the text of every numbered paragraph which references that list level.
Clears the formatting.(Overrides FormatClearFormatting.)
Determines whether the specified Object is equal to this instance.(Overrides ObjectEquals(Object).)
Returns a hash code for this(Overrides instance. ObjectGetHashCode.)
Returns a String that represents this instance.(Overrides ObjectToString.)
Determines whether first and second s are equal.
Determines whether first and second s are not equal.
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.
ListStyle contains exactly 9 s, one for each possible list (indentation) level.s contain direct formatting properties that affect the appearance of the list. Every
Paragraph's list (indentation) level can be adjusted with ListFormat.ListLevelNumber property. Paragraph's list-related formatting will then be collected from the instance contained in the ListStyle.ListLevelFormats at the position ListFormat.ListLevelNumber. This can also be retrieved from the ListFormat.ListLevelFormat property.
ListFormat.ListLevelFormat property can be additionally modified to enable overriding property values of instance contained in the ListStyle.ListLevelFormats at the position ListFormat.ListLevelNumber on a Paragraph or ParagraphStyle basis.retrieved from the
To create a list in a document, first ListStyle instance has to be created from one of the predefined list style types specified with ListTemplateType 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 sample.
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.