ViewOptionsFormsDesign Property

Specifies whether the document is in forms design mode.

Namespace:  Aspose.Words.Settings
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool FormsDesign { get; set; }

Property Value

Type: Boolean
Remarks

Currently works only for documents in WordML format.

Examples
Shows how to save to a .wml document while applying save options.
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);
See Also