NodePosition
The position() function of the results object (see results, position()) can be used to retrieve the position of the first element in a result set. The returned NodePosition has the following fields.
| Field | Type | Description |
|---|---|---|
| height | Number | Height in pixels of the element. |
| left | Number | Left offset in pixels of the element relative to the left side of the page on which the element is located. |
| pageNo | Number |
Page number within the current section. Page counts of preceding sections are not taken into account. Note that this page number cannot be used to construct a cross-section table of contents. |
| top | Number | Top offset in pixels of the element relative to the top of the page on which the element is located. |
| width |
Number |
Width in pixels of the element. |