OdtSaveMeasureUnit Enum
Wordize.Saving.OdtSaveMeasureUnit enum. Specified units of measure to apply to measurable document content such as shape widths and other during saving.
OdtSaveMeasureUnit enumeration
Specified units of measure to apply to measurable document content such as shape, widths and other during saving.
public enum OdtSaveMeasureUnit
Values
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. |
Examples
Shows how to specify measure units used in ODT.
OdtSaveOptions odtSaveOptions = new OdtSaveOptions();
odtSaveOptions.MeasureUnit = OdtSaveMeasureUnit.Inches;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "OdtSaveOptions.MeasureUnit.odt", odtSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize