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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top