MeasurementUnit

RevisionOptions.MeasurementUnit property

Allows to specify the measurement units for revision comments. Default value is Centimeters

public MeasurementUnits MeasurementUnit { get; set; }

Examples

Shows how to make a saved document conform to an older ODT schema.

Document doc = new Document(MyDir + "Rendering.docx");

OdtSaveOptions saveOptions = new OdtSaveOptions
{
    MeasureUnit = OdtSaveMeasureUnit.Centimeters,
    IsStrictSchema11 = exportToOdt11Specs
};

doc.Save(ArtifactsDir + "OdtSaveOptions.Odt11Schema.odt", saveOptions);

See Also