Skip to main content

ParagraphCollection.AddParagraphsToList(DocumentRange, NumberingList, Int32) Method

Apply the numbering list format specified by the NumberingList object to the paragraphs in the specified range.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

void AddParagraphsToList(
    DocumentRange range,
    NumberingList list,
    int levelIndex
)

Parameters

Name Type Description
range DocumentRange

A DocumentRange specifying the range for which the encompassing paragraphs are obtained.

list NumberingList

A NumberingList object that holds list format attributes.

levelIndex Int32

An integer that is the list level applied to the paragraphs specified by the document range.

Remarks

;

The following code snippets (auto-collected from DevExpress Examples) contain references to the AddParagraphsToList(DocumentRange, NumberingList, 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.

See Also