JustificationMode Property

Microsoft Word Visual Basic

JustificationMode Property

       

Returns or sets the character spacing adjustment for the specified document. Read/write WdJustificationMode.

WdJustificationMode can be one of these WdJustificationMode constants.
wdJustificationModeCompress
wdJustificationModeCompressKana
wdJustificationModeExpand

expression.JustificationMode

expression   Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets Microsoft Word to compress only punctuation marks when adjusting character spacing.

ActiveDocument.JustificationMode = wdJustificationModeCompressKana