Cyotek Forums

Source Code => Source Code => Topic started by: Deer2014 on December 09, 2020, 03:24:24 PM

Title: ImageBox keep zoom
Post by: Deer2014 on December 09, 2020, 03:24:24 PM
Hello,

It is possible to keep the zoom value in the ImageBox when I load another image e.g. an image of the same size?

By this I mean that, e.g. I load an image into the ImageBox, use the mouse wheel to set the appropriate zoom, then load another image and the set zoom is retained and does not need to be readjusted.

Thanks,
Title: Re: ImageBox keep zoom
Post by: Richard Moss on December 10, 2020, 06:58:51 AM
Hello,

That is already the current behaviour. Changing the image should not affect the zoom level, or scroll position, unless the SizeMode property has been changed to a value of other than Normal.

Regards;
Richard Moss
Title: Re: ImageBox keep zoom
Post by: Deer2014 on December 10, 2020, 09:00:17 AM
Thanks, I'll watch it.