Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Returns or sets the alignment for each paragraph in the specified paragraph format. Read/write.
Syntax
expression.Alignment
expression A variable that represents a ParagraphFormat object.
Remarks
The value of the Alignment property can be one of these PpParagraphAlignment constants.
| ppAlignCenter |
| ppAlignDistribute |
| ppAlignJustify |
| ppAlignJustifyLow |
| ppAlignLeft |
| ppAlignmentMixed |
| ppAlignRight |
| ppAlignThaiDistribute |
Example
This example left aligns the paragraphs in shape two on slide one in the active presentation.
Application.ActivePresentation.Slides(1).Shapes(2) _
.TextFrame.TextRange.ParagraphFormat.Alignment = ppAlignLeft
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.