編輯

共用方式為


Paragraph.Alignment Property

Definition

Returns or sets a WdParagraphAlignment constant that represents the alignment for the specified paragraphs.

public:
 property Microsoft::Office::Interop::Word::WdParagraphAlignment Alignment { Microsoft::Office::Interop::Word::WdParagraphAlignment get(); void set(Microsoft::Office::Interop::Word::WdParagraphAlignment value); };
public Microsoft.Office.Interop.Word.WdParagraphAlignment Alignment { get; set; }
member this.Alignment : Microsoft.Office.Interop.Word.WdParagraphAlignment with get, set
Public Property Alignment As WdParagraphAlignment

Property Value

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.

Applies to