Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 683 Bytes

zoom-by-mousewheel.md

File metadata and controls

22 lines (18 loc) · 683 Bytes
layout title keywords description needAutoGenerateSidebar
default-layout
How to zoom images using mouse wheel
dynamic .net twain, zoom images, mouse wheel
How to zoom images using mouse wheel
true

How to zoom images using mouse wheel

Dynamic .NET TWAIN allows you to zoom images using hotkeys. Below is a simple sample in C# to use the Ctrl key + mouse wheel to zoom images in Dynamic .NET TWAIN.

private void btnScan_Click(object sender, EventArgs e)
        {
            //show current image only
            dsViewer1.SetViewMode(-1, -1);
            //enable zooming image using hot key
            dsViewer1.EnableInteractiveZoom = true;
        }