officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-numberinglistcollection-dot-add-x28-system-dot-int32-x29.md
Creates and adds a new numbering list to the collection, which is based on an 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 Add(
int abstractNumberingListIndex
)
Function Add(
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 in the document.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(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.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/List.cs#L32
//Create a new list based on the specific pattern
NumberingList bulletedList = document.NumberingLists.Add(0);
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/ListActions.cs#L32
//Create a new list based on the given pattern
NumberingList bulletedList = document.NumberingLists.Add(0);
word-document-api-examples/CS/CodeExamples/ListsActions.cs#L46
// Create a new list based on the specified pattern.
NumberingList bulletedList = document.NumberingLists.Add(0);
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/List.vb#L27
'Create a new list based on the specific pattern
Dim bulletedList As DevExpress.XtraRichEdit.API.Native.NumberingList = document.NumberingLists.Add(0)
' Add paragraphs to the list
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/ListActions.vb#L29
'Create a new list based on the given pattern
Dim bulletedList As NumberingList = document.NumberingLists.Add(0)
word-document-api-examples/VB/CodeExamples/ListsActions.vb#L40
' Create a new list based on the specified pattern.
Dim bulletedList As DevExpress.XtraRichEdit.API.Native.NumberingList = document.NumberingLists.Add(0)
' Access the collection of paragraphs.
See Also
NumberingListCollection Interface