TextEffect enumeration

TextEffect enumeration

Animation effect for text runs.

Members

NameDescription
None
LasVegasLights
BlinkingBackground
SparkleText
MarchingBlackAnts
MarchingRedAnts
Shimmer

Examples

Shows how to apply a visual effect to a run.

let doc = new aw.Document();
let builder = new aw.DocumentBuilder(doc);

builder.font.size = 36;
builder.font.textEffect = aw.TextEffect.SparkleText;

builder.writeln("Text with a sparkle effect.");

// Older versions of Microsoft Word only support font animation effects.
doc.save(base.artifactsDir + "Font.SparklingText.doc");

See Also