Menu

Zoom in or out ?

Help
GriffinK
2008-06-12
2012-09-19
  • GriffinK

    GriffinK - 2008-06-12

    Hi everybody,

    How could I know whether the zoom event is raised by a zoom in or out ?

    Thanks

     
    • Cale Schley

      Cale Schley - 2008-06-16

      Hey GriffinK,

      You could check to see if the yourGraphControl.GraphPane.XAxis(or YAxis).Scale.Min value increases, signifying a Zoom in, or decreases for a Zoom out. Or similarly, use Scale.Max...and if max decreases, it's a zoom in, and if it increases it's a zoom out.

      Good Luck,

      Cale

       
      • GriffinK

        GriffinK - 2008-06-17

        Thank you very much !! :)

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.