ViewOptionsFormsDesign Property |
Namespace: Aspose.Words.Settings
Currently works only for documents in WordML format.
Document doc = new Document(MyDir + "Document.docx"); WordML2003SaveOptions options = new WordML2003SaveOptions() { SaveFormat = SaveFormat.WordML, MemoryOptimization = true, PrettyFormat = true }; // Enables forms design mode in WordML documents doc.ViewOptions.FormsDesign = true; doc.Save(ArtifactsDir + "ViewOptions.FormsDesign.xml", options);