Partager via


_ParagraphFormat.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 _ParagraphFormat
Dim value As WdParagraphAlignment

value = instance.Alignment

instance.Alignment = value
WdParagraphAlignment Alignment { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdParagraphAlignment

Remarks

Some of the WdParagraphAlignment constants may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

See Also

Reference

_ParagraphFormat Interface

_ParagraphFormat Members

Microsoft.Office.Interop.Word Namespace