问题描述
你好,
$ c $ b在我的c#-code中写道:
excelWorkbook.ExportAsFixedFormat(Microsoft.Office.Interop.Excel.XlFixedFormatType .xlTypePDF,
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly()。Location)+
\\+输出)
它在A4中制作pdf文件,而不是在A0中。我必须手动将页面大小A0添加到Microsoft XPS Document Writer,但是它如何在c#中工作?
A4表示210×297 mm
A0表示841×1189 mm
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
推荐答案
这篇关于如何将页面大小A0添加到Microsoft XPS Document Writer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!