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

NameTypeAccessDescription
StartAtintRead/WriteReturns or sets the starting number for this list level.
NumberStyleNumberStyleRead/WriteReturns or sets the number style for this list level.
CustomNumberStyleFormatstringRead/WriteGets or sets the custom number style format for this list level.
NumberFormatstringRead/WriteReturns or sets the number format for the list level.
AlignmentListLevelAlignmentRead/WriteGets or sets the justification of the actual number of the list item.
IsLegalboolRead/WriteTrue if the level turns all inherited numbers to Arabic, false if it preserves their number style.
RestartAfterLevelintRead/WriteSets or returns the list level that must appear before the specified list level restarts numbering.
TrailingCharacterListTrailingCharacterRead/WriteReturns or sets the character inserted after the number for the list level.
FontFontReadSpecifies character formatting used for the list label.
TabPositiondoubleRead/WriteReturns or sets the tab position (in points) for the list level.
NumberPositiondoubleRead/WriteReturns or sets the position (in points) of the number or bullet for the list level.
TextPositiondoubleRead/WriteReturns or sets the position (in points) for the second line of wrapping text for the list level.
LinkedStyleStyleRead/WriteGets or sets the paragraph style that is linked to this list level.
ImageDataImageDataReadReturns image data of the picture bullet shape for the current list level.

Methods

SignatureDescription
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.

See Also