Paragraph.Alignment Property
Returns or sets a WdParagraphAlignment constant that represents the alignment for the specified paragraphs.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Alignment As WdParagraphAlignment
Get
Set
'Usage
Dim instance As Paragraph
Dim value As WdParagraphAlignment
value = instance.Alignment
instance.Alignment = value
WdParagraphAlignment Alignment { get; set; }
Property Value
Type: Microsoft.Office.Interop.Word.WdParagraphAlignment
Remarks
WdParagraphAlignment can be one of the following constants:
wdAlignParagraphCenter
wdAlignParagraphDistribute
wdAlignParagraphJustify
wdAlignParagraphJustifyHi
wdAlignParagraphJustifyLow
wdAlignParagraphJustifyMed
wdAlignParagraphLeft
wdAlignParagraphRight
wdAlignParagraphThaiJustify
Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.