Click to See Complete Forum and Search --> : Changing paper size at run time


yaronkl
December 30th, 2003, 01:31 AM
Hi

I have a code which prints to the printer using the PrintDocument & PrintPreviewDialog classes.

I need to specify at run time which paper size I want to use: A4, Letter, A3 etc. These are not custome sizes but rather standard sizes, listed in the PaperKind enum.

How can I force a certain paper size at run time? The PaperSize.Kind property is read only.

thanks