The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: stanks on March 07, 2008, 09:45:48 AM

Title: print preview
Post by: stanks on March 07, 2008, 09:45:48 AM
I am trying to figure out how print preview works but i still don't understand it :( anyone have example of it or maybe explanation?

Thanks
Title: Re: print preview
Post by: Tedd on March 07, 2008, 12:46:44 PM
When you print, all you really do is draw in a device context. If that device context is for the printer itself, then the 'picture' you draw is what gets printed out. However, if you create a separate device context, draw in that, and that display it to the user, they will see what would be printed out if it were sent to the printer instead.