Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Sets or returns a [Font.TextAnimation|Font.TextAnimation] object that represents the text animation for a character run.{excerpt}
{signature:C#}
 public TextAnimation Animation{ get; set; }
{signature}{signature:vb.net}
Public Property Animation() As TextAnimation
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Text Effects tab > Animations:

{remarks}
{example}{code:csharp|title=C#}

          //--- Return TextAnimation
          Font.TextAnimation oTextAnimation = oFont.Animation;

          //--- Set TextAnimation to LasVegasLights
          oFont.Animation = Font.TextAnimation.LasVegasLights;
        {code}
{code:vb.net|title=vb.net}

          '--- Return TextAnimation
          Dim oTextAnimation As Font.TextAnimation = oFont.Animation

          '--- Set TextAnimation to LasVegasLights
          oFont.Animation = Font.TextAnimation.LasVegasLights
        {code}

{example}