Page tree
Skip to end of metadata
Go to start of metadata

Description

This class is used to represent an entry in a List inside a Word document. A list entry in Word is basically a numbered paragraph.

C#
vb.net

Remarks

The following sample gets the first ListEntry object of a List.

To create a new list entry, use List.AddEntry(). To get an existing list entry, use Element.GetElements(Element.Type.ListEntry) to get all elements of type ListEntry.

Examples

The following sample demonstrates how to create a new list entry at the end of a list as well as how to get the first list entry of an existing list.

C#
vb.net

Properties

Name

Description

BulletText

Sets or returns a String representing the bullet text of this entry as it would show up if it was opened in Word.

LevelNum

Sets or returns an int representing the indent level for this list entry.

Methods

Name

Description

RestartNumbering()

Sets the number of this list entry to "1" and renumbers all subsequent entries in the List. This method splits the current ListEntry and all subsequent list entries into a new List.
  • No labels