java.lang.Object
com.aspose.words.JustificationMode
public class JustificationMode
- extends java.lang.Object
Utility class containing constants.
Specifies the character spacing adjustment for a document.
The default value is Expand.
Example:
Shows how to manage character spacing control.
Document doc = new Document(getMyDir() + "Document.docx");
int justificationMode = doc.getJustificationMode();
if (justificationMode == JustificationMode.EXPAND)
doc.setJustificationMode(JustificationMode.COMPRESS);
doc.save(getArtifactsDir() + "Document.SetJustificationMode.docx");
EXPAND = 0 | |
public static final int EXPAND |
-
COMPRESS = 1 | |
public static final int COMPRESS |
-
COMPRESS_KANA = 2 | |
public static final int COMPRESS_KANA |
-
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.