XPDFViewer_GetSelectionRange | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | xpdf | ||||||
Summary | Get the current selectionRange from a PDF Viewer. | ||||||
Edition | Business | ||||||
Introduced | 1.0.0 | ||||||
OS | mac, windows | ||||||
Platforms | desktop | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Description | The function returns the range as startPageNumber, startCharOnPage, endPageNumber, endCharOnPage. Insertion point is returned as start page number, char insertion point is after, endPageNumber - same as start, char insertion point is after - 1 If item 1 equals item 3 and item 4 is less than item 2 then it is an insertion point position. The function will return empty if there is no selection. The following errors may be thrown by the command:
| ||||||
Tags | externals |