Share via


ParagraphFormat.Alignment Property

Returns or sets the alignment for each paragraph in the specified paragraph format. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property Alignment As PpParagraphAlignment
    Get
    Set
'Usage
Dim instance As ParagraphFormat
Dim value As PpParagraphAlignment

value = instance.Alignment

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

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpParagraphAlignment

Remarks

The value of the Alignment property can be one of these PpParagraphAlignment constants.

ppAlignCenter

ppAlignDistribute

ppAlignJustify

ppAlignJustifyLow

ppAlignLeft

ppAlignmentMixed

ppAlignRight

ppAlignThaiDistribute

See Also

Reference

ParagraphFormat Interface

ParagraphFormat Members

Microsoft.Office.Interop.PowerPoint Namespace