PowerPoint) (AnimationSettings.AnimateTextInReverse 屬性

會決定是否要以相反順序建立指定的圖案。 只適用於可以使用多個步驟建立的圖案 (例如包含清單的圖案)。 讀取/寫入。

語法

expression。 AnimateTextInReverse

運算式 代表 AnimationSettings 物件的變數。

傳回值

MsoTriState

註解

AnimateTextInReverse Property 屬性的值可以是下列其中一個 MsoTriState 常數。

常數 描述
msoFalse 指定的圖案並非以相反順序建立的。
msoTrue 指定的圖案是以相反順序建立的。

除非指定的圖形產生動畫效果,否則您不會看到設定此屬性的效果。 圖形是動畫播放 AnimationSettings 物件之圖案的 TextLevelEffect 屬性必須設定為 ppAnimateLevelNone 以外的某個項目和 動畫 屬性必須設定為 True 。

範例

在這個範例中,會在使用中簡報的第一張投影片後面新增一張投影片、設定標題文字、將具有三個項目的清單新增至文字版面配置區,然後設定要以相反順序建立清單。

With ActivePresentation.Slides.Add(2, ppLayoutText).Shapes
    .Item(1).TextFrame.TextRange.Text = "Top Three Reasons"
    With .Item(2)
        .TextFrame.TextRange = "Reason 1" & Chr(13) _
            & "Reason 2" & Chr(13) & "Reason 3"
        With .AnimationSettings
            .Animate = msoTrue
            .TextLevelEffect = ppAnimateByFirstLevel
            .AnimateTextInReverse = msoTrue
        End With
    End With
End With

另請參閱

AnimationSettings 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。