Hi,
I am facing issue with PageSetup while converting my Excel template to PDF .
Following is the code line I used for this conversion :
book.Save("yahoo.pdf", SaveType.OpenInExcel, FileFormatType.Pdf, HttpContext.Current.Response);
Following is the setting for my worksheet :
book.Worksheets[0].PageSetup.PaperSize = PaperSizeType.PaperA4 ;
book.Worksheets[0].PageSetup.Orientation = PageOrientationType.Landscape;
Is there any way to set this PageSize & Orientation for converted PDF ?
Regards
Pankaj Singh