XPDFViewer_GetSelectionImage | |||||||
Type | command | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | xpdf | ||||||
Summary | This command sets the value of a named variable to the imageData of the current image selection. | ||||||
Edition | Business | ||||||
Introduced | 1.0.0 | ||||||
OS | mac, windows | ||||||
Platforms | desktop | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Description | The selection is rendered at the current viewer scale. LiveCode imageData does
not contain any width or height information so you must set the width and height
of the image correctly before setting the imageData. The command returns the
size (width, height) of the image. As the image is drawn at the current scale of
the PDF view the width/height returned will not match the width/height
calculated from The following errors may be thrown by the command:
| ||||||
Tags | externals |