title: GraphicsUnit.Point or Pixel or world for printer?
body: <p>i am making a desktop application using c# with VS2010 , the purpose of the app is to fill in a form (the form is a physical paper that has spaces in it) so my program has to print the text that i want in the exact place that i need it to be printed on.</p>
  
  <p>my code goes like this:</p>
  
  <pre><code>private void urinePrintDocument_PrintPage(object sender,System.Drawing.Printing.PrintPageEventArgs e)
      {
          //## event handler for urine printing
  
          string FieldValue = ""; // to hold the current text to be printed
          SolidBrush BlackBrush = new SolidBrush(Color.Black);
          Font MyFont = new Font("Arial", 12, GraphicsUnit.Point); //the font to be used
          int myFontHeight = (int)(MyFont.GetHeight(e.Graphics));
          int CurrentX, CurrentY;
  
          //millimeter XXXX
          //inch  XXXXX
          //display - error
          //Document - very small
  
          // 100 Pixel = 1 inch
          //100 Point - 1 inch
          // 100 world - 1 inch
  
          CurrentX = 0;
          CurrentY = 0;
          FieldValue = ptName;
          e.Graphics.DrawString(FieldValue, MyFont, BlackBrush, CurrentX, CurrentY);
  
          CurrentX = 100;
          CurrentY = 100;
          FieldValue = ptFileNumber;
          e.Graphics.DrawString(FieldValue, MyFont, BlackBrush, CurrentX, CurrentY);
  
  
      }
  </code></pre>
  
  <p>my question is regarding the line </p>
  
  <pre><code>Font MyFont = new Font("Arial", 12, GraphicsUnit.Point); //the font to be used
  </code></pre>
  
  <p>specifically the GraphicsUnit.Point enumerator. we have got GraphicsUnit.Point ,millimeter ,inch,display ,Document,Pixel ,Point and world . i have tried them all and found that the last 3 print the text as expected and seem to "displace" the text one inch for each 100 units. i need my code to produce the same result on all type of printers is there any difference between the 3 ? and which one i should use to print on a printer?</p>