DocumentBase.JustificationMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the character spacing adjustment for the document.
public Microsoft.Office.Interop.Word.WdJustificationMode JustificationMode { get; set; }
Property Value
One of the WdJustificationMode values.
Examples
The following code example sets the justification mode of the document to wdJustificationModeCompress. To use this example, run it from the ThisDocument class in a document-level project.
private void DocumentJustificationMode()
{
this.JustificationMode = Microsoft.Office.
Interop.Word.WdJustificationMode.wdJustificationModeCompress;
}
Private Sub DocumentJustificationMode()
Me.JustificationMode = Microsoft.Office.Interop.Word.WdJustificationMode. _
wdJustificationModeCompress
End Sub