Resetting the Zoom level

If you want to change (reset) the zoom mode, you can use the CustomZoom property in the BiDisp.ocx. Before you display the image change the CustomZoom like this:

 

Doc(iTag).BiDisp.CustomZoom = 1.0

Doc(iTag).BiDisp.ScaleMode = tifsmFitToWindow

Doc(iTag).BiDisp.hDib = hDib

 

After you change ScaleMode the zoom level will be 1.0 (not zoomed).

But if you want, you can disable the zoom or zoom with keyboard.