Print Images

R

Ruby Nadler

Hi everyone,
i am using printPreviewDialog and print document do preview images befor
printing.
each image (in different page) has different size. how do i set the controls
so each image fit the control window (page) and how do i set the paper size
for each page?
thanks,
ruby
 
R

raylopez99

Hi everyone,
i am using printPreviewDialog and print document do preview images befor
printing.
each image (in different page) has different size. how do i set the controls
so each image fit the control window (page) and how do i set the paper size
for each page?
thanks,
ruby

Please be advised that printPreviewDialog does not always work.
Printing in C# even using the advanced features of Forms 2.0 is tricky
(refer to the chapter in Chris Sells, which is pretty good) and full
of traps. Sorry I can't be more specific, but if you code a lot
you'll see what I mean.

As for your question, it's hard to do what you want "for each page".
Generally the .PrinterSettings property of PrintDialog are set for ALL
pages, not for "each" page. See Chapter 8 of Chris Sells book for
example.

RL
 

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

Top