TextEffect
TextEffect enumeration
Animation effect for text runs.
public enum TextEffect
Values
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| LasVegasLights | 1 | |
| BlinkingBackground | 2 | |
| SparkleText | 3 | |
| MarchingBlackAnts | 4 | |
| MarchingRedAnts | 5 | |
| Shimmer | 6 |
Examples
Shows how to apply a visual effect to a run.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Font.Size = 36;
builder.Font.TextEffect = TextEffect.SparkleText;
builder.Writeln("Text with a sparkle effect.");
// Older versions of Microsoft Word only support font animation effects.
doc.Save(ArtifactsDir + "Font.SparklingText.doc");
See Also
- namespace Aspose.Words
- assembly Aspose.Words