XPDFViewer_GetSelectionRect | ||||||||||
Type | function | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Associations | xpdf | |||||||||
Summary | Get the rect of the portion of the selection that appears on the currently loaded page. | |||||||||
Edition | Business | |||||||||
Introduced | 1.0.0 | |||||||||
OS | mac, windows | |||||||||
Platforms | desktop | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Description | Get the rect of the portion of the selection that appears on the currently loaded page. If there is no selection on the current page the function returns 0,0,0,0. Coordinates are in stack coordinates. Adjust the returned rect by the topLeft of the RECT property (viewport) to get coordinates relative to the PDF page. The following errors may be thrown by the command:
| |||||||||
Tags | externals |