GoXam Zoom In Out support

Hi,

Can anyone provide directions on the best way to implement zoom in & out with GoXam?

thanks in advance,
gabo

It’s built-in with the control-mouse-wheel behavior that is expected with all Windows style compliant applications that support zooming.

But you can implement your own mechanisms if you want. You will probably want to call Diagram.Panel.SetScaleAndPosition.

Hello,
How can I implement my own mechanism of zooming without using the control-mouse-wheel but through a button?

Thank you in advance

As I suggested, you can either call DiagramPanel.SetScaleAndPosition or you can just set DiagramPanel.Scale.

but I have a Diagram, how can I link it to a DiagramPanel.It’s not one of its properties :s

Yes, the value of Diagram.Panel is a DiagramPanel.

Thank you that works!