The Line object represents a single line in a document.
Line Introduced: X18.
| Method | Description |
|---|---|
| get |
Gets the line's baseline position. |
| get |
Gets the number of characters in the line including the break character. |
| get |
Gets the line's number. |
| get |
Gets the number of the page to which the line belongs. |
| get |
Gets the number (one-based) of the first character in the line. |
| get |
Gets the line's text. |
| get |
Gets the bounding rectangle of the text belonging to the line. |
| save | Saves the line in a certain format and sends the result back asynchronously by calling a given callback function. |