java.lang.Object
com.aspose.words.OdtSaveMeasureUnit
public class OdtSaveMeasureUnit
- extends java.lang.Object
Utility class containing constants.
Specified units of measure to apply to measurable document content such as shape, widths and other during saving.
Example:
Shows how to work with units of measure of document content
Document doc = new Document(getMyDir() + "OdtSaveOptions.MeasureUnit.docx");
//Open Office uses centimeters, MS Office uses inches
OdtSaveOptions saveOptions = new OdtSaveOptions();
saveOptions.setMeasureUnit(OdtSaveMeasureUnit.INCHES);
doc.save(getArtifactsDir() + "OdtSaveOptions.MeasureUnit.odt");
Field Summary |
static final int | CENTIMETERS = 0 | |
Specifies that the document content is saved using centimeters.
|
static final int | INCHES = 1 | |
Specifies that the document content is saved using inches.
|
CENTIMETERS = 0 | |
public static final int CENTIMETERS |
-
Specifies that the document content is saved using centimeters.
INCHES = 1 | |
public static final int INCHES |
-
Specifies that the document content is saved using inches.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.