Aspose::Words::TextEffect enum

TextEffect enum

Animation effect for text runs.

enum class TextEffect

Values

NameValueDescription
None0
LasVegasLights1
BlinkingBackground2
SparkleText3
MarchingBlackAnts4
MarchingRedAnts5
Shimmer6

Examples

Shows how to apply a visual effect to a run.

auto doc = System::MakeObject<Aspose::Words::Document>();
auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>(doc);

builder->get_Font()->set_Size(36);
builder->get_Font()->set_TextEffect(Aspose::Words::TextEffect::SparkleText);

builder->Writeln(u"Text with a sparkle effect.");

// Older versions of Microsoft Word only support font animation effects.
doc->Save(get_ArtifactsDir() + u"Font.SparklingText.doc");

See Also