OdtSaveOptions Constructor (String) |
Namespace: Aspose.Words.Saving
Document doc = new Document(MyDir + "Encrypted" + FileFormatUtil.SaveFormatToExtension(saveFormat), new LoadOptions("@sposeEncrypted_1145")); DocumentBuilder builder = new DocumentBuilder(doc); builder.MoveToDocumentEnd(); builder.Writeln("Encrypted document after changes."); // Saving document using new instance of OdtSaveOptions doc.Save(ArtifactsDir + "OdtSaveOptions.WorkWithEncryptedDocument" + FileFormatUtil.SaveFormatToExtension(saveFormat), new OdtSaveOptions("@sposeEncrypted_1145"));