title: How to retrieve zoom factor of a WinForms PictureBox?
body: <p>I need the precise position of my mouse pointer over a PictureBox.</p>
  
  <p>I use the MouseMove event of the PictureBox.</p>
  
  <p>On this PictureBox, I use the "zoom" property to show an image.</p>
  
  <p>What is the correct way for getting the position of the mouse on the original (unzoomed) image?</p>
  
  <p>Is there a way to find the scale factor and use it?</p>
  
  <p>I think need to use imageOriginalSize/imageShowedSize to retrieve this scale factor.</p>
  
  <p>I use this function:</p>
  
  <pre><code>float scaleFactorX = mypic.ClientSize.Width / mypic.Image.Size.Width;
  float scaleFactorY = mypic.ClientSize.Height / mypic.Image.Size.Height;
  </code></pre>
  
  <p>Is possible to use this value to get the correct position of the cursor over the image?</p>