Click or drag to resize

TextListFormat Class

Represents a set of formatting properties related to bulleted or numbered lists that can be applied to a TextParagraph.
Inheritance Hierarchy
SystemObject
  GemBox.PresentationTextListFormat

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public sealed class TextListFormat

The TextListFormat type exposes the following members.

Properties
  NameDescription
Public propertyBulletCharacter

Gets or sets the character to be used in place of the standard bullet point.

Default value is Empty.

Public propertyBulletPicture

Gets or sets the picture to be applied to a set of bullets.

Default value is .

Public propertyBulletType

Gets or sets the bullet scheme of the bulleted list.

Default value is None.

This allows specifying character and font of predefined list bullets.

Public propertyColor
Gets or sets the color to be used on bullet characters within a given TextParagraph.
Public propertyFont
Gets or sets the font to be used on bullet characters within a given TextParagraph.
Public propertyLevel

Gets or sets the list indent level.

Default value is 0.

Public propertyListType

Gets the type of the list.

Default value is None.

Use members NumberType, BulletType, BulletCharacter or SetBulletPicture(Stream, PictureContentType) to set list type.

Public propertyNumberStartAt

Gets or sets the number that starts a given sequence of a numbered list.

Default value is 1 if ListType is Number; otherwise, -1.

When the numbering is alphabetical, the number should map to the appropriate letter. For instance 1 maps to 'a', 2 to 'b' and so on. If the numbers are larger than 26, then multiple letters should be used. For instance 27 should be represented as 'aa' and similarly 53 should be 'aaa'.

Public propertyNumberType

Gets or sets the numbering scheme of the numbered list.

Default value is None.

This allows specifying formats other than strictly numbers. For instance, a set of bullets can be represented by a series of Roman numerals instead of the standard 1,2,3, etc. number set.

Public propertyRelativeSize
Gets or sets the size in percentage of the surrounding text to be used on bullet characters within a given TextParagraph.
Public propertySize
Gets or sets the absolute size to be used on bullet characters within a given TextParagraph.
Top
Methods
  NameDescription
Public methodSetBulletPicture(Stream, PictureContentType)
Sets the bullet picture.
Public methodSetBulletPicture(Stream, String)
Sets the bullet picture.
Top
See Also