ListLevel
Overview
ListLevel is a class in Aspose.Words FOSS for .NET.
Inherits from: IRunAttrSource.
Defines formatting for a list level.
This class provides 5 methods for working with ListLevel objects in .NET programs.
Available methods include: CreatePictureBullet, DeletePictureBullet, Equals, GetEffectiveValue, GetHashCode.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Alignment, CustomNumberStyleFormat, Font, ImageData, IsLegal, LinkedStyle, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
StartAt | int | Read/Write | Returns or sets the starting number for this list level. |
NumberStyle | NumberStyle | Read/Write | Returns or sets the number style for this list level. |
CustomNumberStyleFormat | string | Read/Write | Gets or sets the custom number style format for this list level. |
NumberFormat | string | Read/Write | Returns or sets the number format for the list level. |
Alignment | ListLevelAlignment | Read/Write | Gets or sets the justification of the actual number of the list item. |
IsLegal | bool | Read/Write | True if the level turns all inherited numbers to Arabic, false if it preserves their number style. |
RestartAfterLevel | int | Read/Write | Sets or returns the list level that must appear before the specified list level restarts numbering. |
TrailingCharacter | ListTrailingCharacter | Read/Write | Returns or sets the character inserted after the number for the list level. |
Font | Font | Read | Specifies character formatting used for the list label. |
TabPosition | double | Read/Write | Returns or sets the tab position (in points) for the list level. |
NumberPosition | double | Read/Write | Returns or sets the position (in points) of the number or bullet for the list level. |
TextPosition | double | Read/Write | Returns or sets the position (in points) for the second line of wrapping text for the list level. |
LinkedStyle | Style | Read/Write | Gets or sets the paragraph style that is linked to this list level. |
ImageData | ImageData | Read | Returns image data of the picture bullet shape for the current list level. |
Methods
| Signature | Description |
|---|---|
CreatePictureBullet() | Creates picture bullet shape for the current list level. |
DeletePictureBullet() | Deletes picture bullet for the current list level. |
GetEffectiveValue(index: int, numberStyle: NumberStyle, customNumberStyleFormat: string) | Reports the string representation of the ListLevel object for the specified index of the list item. |
Equals(level: ListLevel) | Compares with the specified ListLevel. |
GetHashCode() | Calculates hash code for this object. |