Search

Atalasoft Knowledge Base

INFO: Zoom Area in WebDocumentViewer (New in 10.6.1.4)

Administrator
DotImage

New in DotImage 10.6, ServicePack 1, FixPack 4 (10.6.1.4) WebDocumentViewer Select Area Zooming

SUMMARY

Selection-based zoom is where a user draws a rectangle on the current image, and the control responds by zooming to allow that desired area to "best fit" into the current viewer.

This feature needs to be turned on in configuration (see below) but to use it, the user clicks on the Select Area box then uses the mouse to draw a rectangle. The moment they mouseUp from the drawing, the viewer will zoom to "best-fit" the rectangle of interest

CONFIGURATION

Config.showselecttools: Boolean

enable the new zoom by selection feature:

showselecttools: true

PROGRAMMATICALLY TRIGGERING ZOOM SELECTION

The programmer can programmatically trigger this by calling

_viewer.trigger('menuclickzoom-area');

HIDING THE ZOOM AREA SELECT BUTTON/CONTROL

If you don't need it at all, simply leave the showselecttools configuration set to false.

If you need to situationally hide/show it, do not REMOVE button from DOM ..

HIDE
$('.atala-ui-icon-zoom-area').parent().hide();

SHOW
$('.atala-ui-icon-zoom-area').parent().show();

Original Article

Q10427 - INFO: Zoom Area in WebDocumentViewer (New in 10.6.1.4)

Last Update

2026-09-22 - TD - (Minor Spelling)

Details
Last Modified: Last Week
Last Modified By: Tananda
Type: INFO
Article not rated yet.
Article has been viewed 509 times.
Options
Also In This Category