This function allows you to retrieve the current selection area coordinates.
Parameters
- docuViewareID
- The identifier for the DocuVieware™ instance you want to retrieve the selection area coordinates from.
Return Value
Coordinates, in inches, of the selection area under the following form: { left: x, top: y, width: w, height: h }, values will be 0 if no area selected.
Example of usage
This JavaScript makes sure the DocuVieware control is properly loaded and initialized and then subscribes to the event on load to display the selected area coordinates in the console.