A Paragraph object represents a single paragraph in a Text Control document. Paragraphs are numbered from the beginning to the end of the document beginning with 1. A document has at least one paragraph.
Paragraph
Introduced: X18.
Method | Description |
---|---|
get |
Gets the paragraph's formatting style. |
get |
Gets the number of characters in the paragraph including the paragraph end character. |
get |
Gets the number of lines the paragraph consists of. |
get |
Gets the paragraph's list number. |
get |
Gets the paragraph's list number text. |
get |
Gets the number (one-based) of the paragraph's first character. |
get |
Gets the number (one-based) of the paragraph's first line. |
get |
Gets the paragraph's text. |
save | Saves the paragraph in a certain format and sends the result back asynchronously by calling a given callback function. |
select | Selects the paragraph. |
set |
Sets the paragraph's formatting style. |
Property | Description |
---|---|
format | The paragraph's formatting attributes. |
list |
The paragraph's bulleted or numbered list and/or its formatting attributes. |