textEffect property

Font.textEffect property

Gets or sets the font animation effect.

get textEffect(): Aspose.Words.TextEffect

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