Remembering zoom-factors

  Imaging Toolkit

C++
You should save the scale rectangle before loading the next page. This scale is used in display function (for example: DisplayDIBStart, DisplayImage) as scaling factor. Before reloading the previous page, set the scale rectangle to the value you saved before.

VB
You should use the CustomZoom property. Before loading the next page save the value of the CustomZoom property. Before reloading the previous page, set the CustomZoom property to the value you saved before. Note: If you change the CustomZoom property without loading new image, you should refresh the control with Refresh method.

Regards,
Technical Support Team