BaseLineAlignment Property

Microsoft PowerPoint Visual Basic

BaseLineAlignment Property

       

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

PpBaselineAlignment can be one of these PpBaselineAlignment constants.
ppBaselineAlignBaseline
ppBaselineAlignCenter
ppBaselineAlignFarEast50
ppBaselineAlignMixed
ppBaselineAlignTop

expression.BaseLineAlignment

expression   Required. An expression that returns one of the objects in the Applies To list.

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