Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
in my c#-code is written:

excelWorkbook.ExportAsFixedFormat(Microsoft.Office.Interop.Excel.XlFixedFormatType.xlTypePDF,
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) +
"\\" + output)

It makes a pdf-file in A4, not in A0. I had to add page size A0 to Microsoft XPS Document Writer manually, but how does it work in c#?

A4 means 210 × 297 mm
A0 means 841 × 1189 mm
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900