XPDFViewer_GetImageSelectionRect | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | xpdf | ||||||
Summary | Get the rect of image selection. | ||||||
Edition | Business | ||||||
Introduced | 1.0.0 | ||||||
OS | mac, windows | ||||||
Platforms | desktop | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Description | If there is no image selection 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 |