Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns a Font.TextAnimation object that represents the text animation for a character run.

Signature
C#
C#

 public TextAnimation Animation{ get; set; }
Signature
vb.net
vb.net

Public Property Animation() As TextAnimation
Remarks

MS Word equivalent: Format menu > Font... > Text Effects tab > Animations:

Example
Code Block
csharp
csharp
titleC#
            //--- Return TextAnimation
          Font.TextAnimation oTextAnimation = oFont.Animation;

          //--- Set TextAnimation to LasVegasLights
          oFont.Animation = Font.TextAnimation.LasVegasLights;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return TextAnimation
          Dim oTextAnimation As Font.TextAnimation = oFont.Animation

          '--- Set TextAnimation to LasVegasLights
          oFont.Animation = Font.TextAnimation.LasVegasLights