Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the character spacing adjustment for the document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Property JustificationMode As WdJustificationMode
'Usage
Dim instance As Document
Dim value As WdJustificationMode
value = instance.JustificationMode
instance.JustificationMode = value
public WdJustificationMode JustificationMode { get; set; }
public:
property WdJustificationMode JustificationMode {
WdJustificationMode get ();
void set (WdJustificationMode value);
}
public function get JustificationMode () : WdJustificationMode
public function set JustificationMode (value : WdJustificationMode)
Property Value
Type: WdJustificationMode
One of the WdJustificationMode values.
Examples
The following code example sets the justification mode of the document to wdJustificationModeCompress.
This example is for a document-level customization.
Private Sub DocumentJustificationMode()
Me.JustificationMode = Microsoft.Office.Interop.Word.WdJustificationMode. _
wdJustificationModeCompress
End Sub
private void DocumentJustificationMode()
{
this.JustificationMode = Microsoft.Office.
Interop.Word.WdJustificationMode.wdJustificationModeCompress;
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.