aspnetcore-js-devexpress-dot-richedit-747dd0f7.md
Defines a paragraph in the document.
export class Paragraph
Gets the paragraph’s index in the paragraphs collection.
get index(): number
| Type | Description |
|---|---|
| number |
The paragraph’s index.
|
Gets the text buffer interval occupied by the current paragraph element.
get interval(): Interval
| Type | Description |
|---|---|
| Interval |
An object that specifies the interval settings.
|
Returns a list to which the paragraph belongs.
get list(): List | null
| Type | Description |
|---|---|
| List |
The list object. null if the paragraph does not belong to a list.
|
Returns a list level to which the paragraph belongs.
get listLevel(): number
| Type | Description |
|---|---|
| number |
The level (maximum 9), or -1 if the paragraph does not belong to a list.
|
Provide access to the paragraph’s properties.
get properties(): IParagraphProperties
set properties(properties: IParagraphProperties)
| Type | Description |
|---|---|
| IParagraphProperties |
A ParagraphProperties object that implements the IParagraphProperties interface and contains paragraph properties.
|
Adds the paragraph to a list at the specified level.
addToList(
list: List,
targetListLevel?: number
): void
| Name | Type | Description |
|---|---|---|
| list | List |
The list where the paragraph should be added.
| | targetListLevel | number |
The list level.
|