语法
表达式.Animation
表达式 必选。一个代表 Font 对象的变量。
示例
本示例为新文档中的文本设置动态效果。
let docNew = Documents.Add() docNew.Content.InsertAfter("This is a test of animation.") docNew.Content.Font.Animation = wdAnimationLasVegasLights
本示例为选定文本设置动态效果。
if(Selection.Type == wdSelectionNormal) { Selection.Font.Animation = wdAnimationShimmer } else{ MsgBox("You need to select some text.") }