title: Getting the image from fingerprint device using C#
body: <p>I am using C# to implement JKFinger SDK into our office project and I am new to C#. There are two methods in SDK, <code>PrintImageAt()</code> which is drawing image into <code>PictureBox</code> And <code>GetFingerImage()</code> get the last captured image by device in bmp format.</p>
  
  <pre><code>Graphics g = pictureBox1.CreateGraphics();
  int dc = g.GetHdc().ToInt32();
  axZKFPEngX1.PrintImageAt(dc, 0, 0, axZKFPEngX1.ImageWidth, axZKFPEngX1.ImageHeight);
  object obj = null;
  axZKFPEngX1.GetFingerImage(ref obj);
  </code></pre>
  
  <p>Now I want to store the captured image into database. The <code>PictureBox</code> is displaying the images but not initializing with it. For getting image from <code>PictureBox</code> is returning null. And for <code>GetFingerPrint(ref obj)</code> is returning an object but can't be converted to Bitmap. I want to know how to get that image. </p>