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

NameValueDescription
Centimeters0Specifies that the document content is saved using centimeters.
Inches1Specifies 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