Aspose::Words::TextEffect enum

TextEffect enum

Animation effect for text runs.

enum class TextEffect : int

Values

NameValueDescription
BlinkingBackground2
LasVegasLights1
MarchingBlackAnts4
MarchingRedAnts5
None0
Shimmer6
SparkleText3

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(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