officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-numberinglistcollection-dot-createnew-x28-system-dot-int32-x29.md
Creates a new numbering list which is based on the abstract numbering list specified by its index.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
NumberingList CreateNew(
int abstractNumberingListIndex
)
Function CreateNew(
abstractNumberingListIndex As Integer
) As NumberingList
| Name | Type | Description |
|---|---|---|
| abstractNumberingListIndex | Int32 |
An integer that is the index of the abstract numbering list in the document.
|
| Type | Description |
|---|---|
| NumberingList |
A NumberingList interface specifying the numbering list.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateNew(Int32) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
word-document-api-insert-dynamic-content/CS/Program.cs#L50
AbstractNumberingList abstractNumberingList = document.AbstractNumberingLists.BulletedListTemplate.CreateNew();
document.NumberingLists.CreateNew(abstractNumberingList.Index);
word-document-api-insert-dynamic-content/VB/Module1.vb#L42
Dim abstractNumberingList As AbstractNumberingList = document.AbstractNumberingLists.BulletedListTemplate.CreateNew()
document.NumberingLists.CreateNew(abstractNumberingList.Index)
See Also
NumberingListCollection Interface