Adding SemanticZoom controls (HTML)
The SemanticZoom control enables the user to zoom between two different views of the same content. Here we show you how to use the SemanticZoom control.
A user performs semantic zooming by pinching (moving the fingers closer together zooms out and moving them apart zooms in), or by holding the CTRL key down while scrolling the mouse scroll wheel, or by holding the CTRL key down and pressing the + or - key. The SemanticZoom also provides a zoom out button when the zoomed-in view is shown.
Semantic zoom is useful for quickly panning through content. Tapping the content in a zoomed-out view will zoom the view and pan to the tapped point, as shown here.
Zoomed out, the entire content can be a touch target:
A tap on a section of the content:
Zoomed in and panned to the tapped area:
A smooth cross-fade animation transitions from one semantic zoom to another. This is the default touch behavior and you can't customize it.
Learn how to use the SemanticZoom control to zoom between two views of the same content.