Closed liutiming closed 3 years ago
i think the switch you are looking for is /powerpoint_output. Although the documentation for this seems to be missing. This was mentioned on the release notes for the 1.9 (https://github.com/cognidox/OfficeToPDF/releases/tag/v1.9.0.2).
You should be able to use the following values:
case "handout":
case "handouts":
case "handout1":
return PpPrintOutputType.ppPrintOutputOneSlideHandouts;
case "handout2":
case "handouts2":
return PpPrintOutputType.ppPrintOutputTwoSlideHandouts;
case "handout3":
case "handouts3":
return PpPrintOutputType.ppPrintOutputThreeSlideHandouts;
case "handout4":
case "handouts4":
return PpPrintOutputType.ppPrintOutputFourSlideHandouts;
case "handout6":
case "handouts6":
return PpPrintOutputType.ppPrintOutputSixSlideHandouts;
case "handout9":
case "handouts9":
return PpPrintOutputType.ppPrintOutputNineSlideHandouts;
case "notes":
return PpPrintOutputType.ppPrintOutputNotesPages;
case "slides":
return PpPrintOutputType.ppPrintOutputSlides;
case "outline":
return PpPrintOutputType.ppPrintOutputOutline;
case "build_slides":
case "buildslides":
case "build-slides":
return PpPrintOutputType.ppPrintOutputBuildSlides;```
thanks that helped a lot!
for onlookers' reference, values after case are what can be used as argument. e.g. .\OfficeToPDF.exe '.\Applied Anatomy_Revision Radiology.pptx' /powerpoint_output notes radiology.pdf
this will be really helpful. thank you!