이 코드는 파워 포인트 addin에 있지만 작동하지 않고 예외가 발생합니다. 예외는 다음과 같습니다 :PowerPoint ExportAsFixedFormat 예외
"값이 예상 범위에 들지 않습니다."
내가 뭘 잘못하고있어?
this.Application.ActivePresentation.ExportAsFixedFormat(path,
PpFixedFormatType.ppFixedFormatTypeXPS,
PpFixedFormatIntent.ppFixedFormatIntentPrint,
Microsoft.Office.Core.MsoTriState.msoTrue,
PpPrintHandoutOrder.ppPrintHandoutHorizontalFirst,
PpPrintOutputType.ppPrintOutputSlides,
Microsoft.Office.Core.MsoTriState.msoTrue,
null,
PpPrintRangeType.ppPrintAll,
null,
true,
true,
true,
false,
false,
null
);
와우, 그게 효과가있다. 나는 PrintRange에 초점을 맞추고 있었다. 감사합니다. 감사합니다. –
@ Alexander Cohen : 닉의 답을 정답임을 나타내는 체크 표시로 선택할 수 있습니다. –
대신 Type.Missing을 사용하십시오. – CantGetANick