Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GDI+ and pixel to inches conversion.

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
US
I am trying to draw/print information to fit a card but am having questions. I want to create a Function that draws a bmp and returns it to the print document object. (In an effort to reduce memory usage)

I am printing to line up with perferated cards. The measurements I have are in inches. So, I have 1.125 inches and things like that. To create a bitmap, or do much else in GDI you need to work with pixels. How can I convert my inch measurements to pixels and work with them?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top