TXTextControl.TXTextControl.ListType Property

Returns or sets a list type for a paragraph or a selected range of paragraphs. Possible lists are bulleted and numbered lists. Attributes for bulleted lists can be set with the BulletAttribute property and attributes for numbered lists can be set with the NumberingAttribute property.

Syntax

TXTextControl.ListType [=  Type]
Setting Description
txListNone (1) Resets paragraphs with bulleted or numbered list attributes to paragraphs without such features.
txListBulleted (2) Defines a list with bullets.
txListNumbered (4) Defines a numbered list.
txListStructured (8) Defines a structured numbered list.

Remarks

If several paragraphs belonging to different lists are selected the property returns a combination of the constants listed above.

Data Types

Integer.

Limitations

Run time only.

See Also