Class TextEffect
Inheritance
System.Object
TextEffect
Assembly: IronPPT.dll
Syntax
public class TextEffect : Object
Layered visual effects on slide text, glow, reflection, 3D, and the rest, are gathered on TextEffect. It is the single object that collects every decorative effect a run of text can wear, so a developer configures one effect bundle and applies it rather than wiring each effect separately.
A TextEffect is built and attached to the text being styled, and each effect is a property holding its own dedicated effect object. GlowEffect (a Glow) adds a colored halo, ShadowEffect (a Shadow) casts a drop shadow, and ReflectionEffect (a Reflection) mirrors the text below itself. GradientEffect (a Gradient) fills the text with a color blend, Effect3D (an Effect3D) gives it depth and bevel, and TextOutlineEffect (a TextOutlineEffect) strokes its edges. Each property is independent, so a developer sets only the effects a design needs and leaves the rest unset.
Configure the individual effect objects first, then assign them to the matching property on the TextEffect. Because the effects compose, a heading can carry a gradient fill, an outline, and a soft shadow at once from one bundle. The Shadow used by ShadowEffect and the Gradient used by GradientEffect are the same standalone types a developer configures elsewhere, so an effect built for one element drops straight into a TextEffect. Leave a property unset to skip that effect, and reuse the same TextEffect across several text runs to keep a consistent treatment across a deck without rebuilding each effect every time.
var effect = new TextEffect();
effect.GlowEffect = glow;
effect.ShadowEffect = Shadow.OuterShadow1;
The add text how-to places the text these effects style, the add shape example shows colors and styling on slide elements, and the paragraph style example styles the surrounding text.
Constructors
TextEffect()
Declaration
Properties
Effect3D
Declaration
public Effect3D Effect3D { get; set; }
Property Value
GlowEffect
Declaration
public Glow GlowEffect { get; set; }
Property Value
GradientEffect
Declaration
public Gradient GradientEffect { get; set; }
Property Value
ReflectionEffect
Declaration
public Reflection ReflectionEffect { get; set; }
Property Value
ShadowEffect
Declaration
public Shadow ShadowEffect { get; set; }
Property Value
TextOutlineEffect
Declaration
public TextOutlineEffect TextOutlineEffect { get; set; }
Property Value