OdtSaveMeasureUnit Enumeration |
Specified units of measure to apply to measurable document content such as shape, widths and other during saving.
Namespace:
Aspose.Words.Saving
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic enum OdtSaveMeasureUnit
Public Enumeration OdtSaveMeasureUnit
public enum class OdtSaveMeasureUnit
Members
| Member name | Value | Description |
---|
| Centimeters | 0 |
Specifies that the document content is saved using centimeters.
|
| Inches | 1 |
Specifies that the document content is saved using inches.
|
ExamplesShows how to work with units of measure of document content.
Document doc = new Document(MyDir + "Rendering.docx");
OdtSaveOptions saveOptions = new OdtSaveOptions
{
MeasureUnit = OdtSaveMeasureUnit.Inches,
IsStrictSchema11 = true
};
doc.Save(ArtifactsDir + "OdtSaveOptions.MeasureUnit.odt", saveOptions);
See Also