Set page size for print

Mar 30, 2010 at 10:02 AM
Edited Mar 30, 2010 at 10:27 AM


I am creating a excel.which page size  is increase. When i am doing 'View > Page Layout' then it show me 4 pages. Due to to this i am getting problem in printing my excel.

How can i fix that?

I mean i want to set following property through this dll

Page Layout > Width >1page



Mar 30, 2010 at 10:41 AM

I got this setting

PrinterSettings.FitToWidth = 1;