java.lang.Object
com.aspose.words.TextEffect
public class TextEffect
- extends java.lang.Object
Utility class containing constants.
Animation effect for text runs.
Example:
Shows how to apply a visual effect to a run.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.getFont().setSize(36.0);
builder.getFont().setTextEffect(TextEffect.SPARKLE_TEXT);
builder.writeln("Text with a sparkle effect.");
// Older versions of Microsoft Word only support font animation effects.
doc.save(getArtifactsDir() + "Font.SparklingText.doc");
NONE = 0 | |
public static final int NONE |
-
LAS_VEGAS_LIGHTS = 1 | |
public static final int LAS_VEGAS_LIGHTS |
-
BLINKING_BACKGROUND = 2 | |
public static final int BLINKING_BACKGROUND |
-
SPARKLE_TEXT = 3 | |
public static final int SPARKLE_TEXT |
-
MARCHING_BLACK_ANTS = 4 | |
public static final int MARCHING_BLACK_ANTS |
-
MARCHING_RED_ANTS = 5 | |
public static final int MARCHING_RED_ANTS |
-
SHIMMER = 6 | |
public static final int SHIMMER |
-
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.