DocuVieware Reference Guide
RegisterOnAreaSelected
Reference Guides > JavaScript API > Events > RegisterOnAreaSelected
 RegisterOnAreaSelected

This function allows you trigger a function of your own when a selection area has been drawn on the displayed document.

RegisterOnAreaSelected: function (docuViewareID, callback)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance.
callback
The function you want to execute on event.

Return Value

1 if error.