PsSaveOptionsSaveFormat Property |
Namespace: Aspose.Words.Saving
Document doc = new Document(MyDir + "Paragraphs.docx"); // Configure both page setup and PsSaveOptions to create a book fold foreach (Section s in doc.Sections) { s.PageSetup.MultiplePages = MultiplePagesType.BookFoldPrinting; } PsSaveOptions saveOptions = new PsSaveOptions { SaveFormat = SaveFormat.Ps, UseBookFoldPrintingSettings = true }; // In order to make a booklet, we will need to print this document, stack the pages // in the order they come out of the printer and then fold down the middle doc.Save(ArtifactsDir + "PsSaveOptions.UseBookFoldPrintingSettings.ps", saveOptions);