printing in VB.NET

  • Thread starter Thread starter Snuyt
  • Start date Start date
S

Snuyt

Hello,

As far as i can see, the coordinates for printing in vb.net is based on
the number of pixels. Does anyone have a formula to convert mm into
pixels (and vice versa)


my sample code:

....
e.Graphics.DrawString(s, Font, Brushes.Black, New RectangleF(a,b,c,d), fmt)

where a,b,c,d are integers, the number of pixels

thanks,
Snuyt
 
Back
Top