Partager via


ParagraphFormat.BaseLineAlignment Property (PowerPoint)

Returns or sets the base line alignment for the specified paragraph. Read/write.

Syntax

expression .BaseLineAlignment

expression A variable that represents a ParagraphFormat object.

Return Value

PpBaselineAlignment

Remarks

The value of the BaseLineAlignment property can be one of these PpBaselineAlignment constants

ppBaselineAlignBaseline

ppBaselineAlignCenter

ppBaselineAlignFarEast50

ppBaselineAlignMixed

ppBaselineAlignTop

Example

This example displays the base line alignment for the paragraphs in shape two on slide one in the active presentation.

MsgBox ActivePresentation.Slides(1).Shapes(2).TextFrame.TextRange _

    .ParagraphFormat.BaseLineAlignment

See Also

Concepts

ParagraphFormat Object

ParagraphFormat Object Members