Back to Devexpress

ParagraphCollection.AddParagraphToList(Paragraph, Int32, Int32) Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraphcollection-dot-addparagraphtolist-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-paragraph-system-dot-int32-system-dot-int32-x29.md

latest2.1 KB
Original Source

ParagraphCollection.AddParagraphToList(Paragraph, Int32, Int32) Method

Apply the numbering list format specified by the NumberingList object to the specified paragraph.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void AddParagraphToList(
    Paragraph paragraph,
    int numberingListIndex,
    int levelIndex
)
vb
Sub AddParagraphToList(
    paragraph As Paragraph,
    numberingListIndex As Integer,
    levelIndex As Integer
)

Parameters

NameTypeDescription
paragraphParagraph

A Paragraph object that is the paragraph added to the list.

| | numberingListIndex | Int32 |

An integer specifying the numbering list definition in the document whose attributes should be applied to the paragraph.

| | levelIndex | Int32 |

An integer that is the list level applied to the paragraph.

|

Remarks

;

See Also

ParagraphCollection Interface

ParagraphCollection Members

DevExpress.XtraRichEdit.API.Native Namespace