How to zoom image using mouse wheel?

Dynamic .NET TWAIN allows you to zoom image 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;
Is this page helpful?

Leave a Reply

Your email address will not be published.