Using API to print in WinForms

  • Thread starter Thread starter Cesar Ronchese
  • Start date Start date
C

Cesar Ronchese

Hi All.

I have noticed the System.Drawing is toooooooooooooooooooooo slow. I did
some tests in VB6 using APIs, printing the same pictures, and I got very,
powerful and awesome difference of speed.

( 8^U ) <== my astonished face


Anyone know how can I print in .Net WinForms using Windows API?

Cesar
 
Hi All.

I have noticed the System.Drawing is toooooooooooooooooooooo slow. I did
some tests in VB6 using APIs, printing the same pictures, and I got very,
powerful and awesome difference of speed.

( 8^U ) <== my astonished face


Anyone know how can I print in .Net WinForms using Windows API?

Cesar

The declare statement still exists in VB.NET - so, pretty much the same
way as you did in VB6. The major difference is the datatype
declarations will be different in VB.NET, since in VB.NET Integer is
32-bit and Long is 64-bit. If you need help post a couple of your VB6
API declares, and I'm sure someone can help you get started :)
 
Yeah, I know. What I need to know is how to get the DC of a WinForm. You
know how can I do that?

Cesar
 

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