measurement_unit property

RevisionOptions.measurement_unit property

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

@property
def measurement_unit(self) -> aspose.words.MeasurementUnits:
    ...

@measurement_unit.setter
def measurement_unit(self, value: aspose.words.MeasurementUnits):
    ...

Examples

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

doc = aw.Document(file_name=MY_DIR + 'Rendering.docx')
save_options = aw.saving.OdtSaveOptions()
save_options.measure_unit = aw.saving.OdtSaveMeasureUnit.CENTIMETERS
save_options.is_strict_schema11 = export_to_odt_11_specs
doc.save(file_name=ARTIFACTS_DIR + 'OdtSaveOptions.Odt11Schema.odt', save_options=save_options)

See Also