OdtSaveOptions Constructor

Initializes a new instance of this class that can be used to save a document in the Odt format.

Namespace:  Aspose.Words.Saving
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public OdtSaveOptions()
Examples
Shows how to work with units of measure of document content.
Document doc = new Document(MyDir + "Rendering.docx");

// Open Office uses centimeters, MS Office uses inches
OdtSaveOptions saveOptions = new OdtSaveOptions
{
    MeasureUnit = OdtSaveMeasureUnit.Inches,
    IsStrictSchema11 = true
};

doc.Save(ArtifactsDir + "OdtSaveOptions.MeasureUnit.odt", saveOptions);
See Also