Zooming in the StiViewerControl

Stimulsoft Reports.NET discussion
Post Reply
joro
Posts: 63
Joined: Wed Jan 27, 2010 7:35 am

Zooming in the StiViewerControl

Post by joro »

Hallo!
I've added the StiViewerControl on a panel in one of my forms.
The form has some sort of zooming-logic implemented.When i change the zoom factor of my form, the method SetZoom of the StiViewerControl is called and the zoom facot changes.

But when i change the zoom factor of the StiViewerControl via its context menu, then the zoom factor changed but there is no event that tells my form, that the zoom has changed.
Is there an Event that can be raised to tell another component that the StiViewerControl has changed its zoom factor?

regards
joro
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Zooming in the StiViewerControl

Post by Jan »

Hello Joro,

Unfortunately we don't have special event to check zoom factor.

Thank you.

joro
Posts: 63
Joined: Wed Jan 27, 2010 7:35 am

Zooming in the StiViewerControl

Post by joro »

Is there any chance that you will introduce an event after the zoom value has changed?

Is there a workaround that i could use?
I tried several events, but most of them don't seem to be fired properly.
- MouseClick event is not fired when clicking the StiViewerControl or the context menu
- Paint is not fired after zoom changed...

best regards
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Zooming in the StiViewerControl

Post by Jan »

Hello,

Please check next prerelease build. ZoomChanged event is added.

Thank you.
joro
Posts: 63
Joined: Wed Jan 27, 2010 7:35 am

Zooming in the StiViewerControl

Post by joro »

Hello Jan,

thanks a lot for introducing a ZoomChanged event.
I'm looking forward to the next prerelease build.

best regards
Post Reply