XPDF_ImageSelectionChanged

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
XPDF_ImageSelectionChanged <selectionRange>
Associationsxpdf
Summary

Sent to the current card when the user changes the image selection

EditionBusiness
Introduced1.0.0
OSmac, windows
Platformsdesktop
Parameters
NameTypeDescription
selectionRange

A comma-delimited list of 1 integer and 4 real numbers: * pageNumber - The page the selection is on. * left - The left of the selection * top - The top of the selection * right - The right of the selection * bottom - The bottom of the selection

Example
on XPDF_SelectionChanged pSelectionRange
	local theSelectedImage
	XPDFViewer_GetSelectionImage "Document1", "theSelectedImage"
	set the width of image "selected image" to item 1 of the result
	set the height of image "selected image" to item 2 of the result
	set the imageData of image "selected image" to theSelectedImage
end XPDF_SelectionChanged
Description

Sent to the current card when the user changes the image selection

Tagsexternals