Search Results for

    Show / Hide Table of Contents

    Class TextEffect

    Inheritance
    System.Object
    TextEffect
    Namespace: IronPPT.Models
    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
    public TextEffect()

    Properties

    Effect3D

    Declaration
    public Effect3D Effect3D { get; set; }
    Property Value
    Type Description
    Effect3D

    GlowEffect

    Declaration
    public Glow GlowEffect { get; set; }
    Property Value
    Type Description
    Glow

    GradientEffect

    Declaration
    public Gradient GradientEffect { get; set; }
    Property Value
    Type Description
    Gradient

    ReflectionEffect

    Declaration
    public Reflection ReflectionEffect { get; set; }
    Property Value
    Type Description
    Reflection

    ShadowEffect

    Declaration
    public Shadow ShadowEffect { get; set; }
    Property Value
    Type Description
    Shadow

    TextOutlineEffect

    Declaration
    public TextOutlineEffect TextOutlineEffect { get; set; }
    Property Value
    Type Description
    TextOutlineEffect
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet