Enum MsoPresetTextEffectShape

MsoPresetTextEffectShape enumeration

Represents preset text effect shape type of WordArt.

public enum MsoPresetTextEffectShape

Values

NameValueDescription
PlainText136PlainText
Stop137Stop
TriangleUp138TriangleUp
TriangleDown139TriangleDown
ChevronUp140ChevronUp
ChevronDown141ChevronDown
RingInside142RingInside
RingOutside143RingOutside
ArchUpCurve144ArchUpCurve
ArchDownCurve145ArchDownCurve
CircleCurve146CircleCurve
ButtonCurve147ButtonCurve
ArchUpPour148ArchUpPour
ArchDownPour149ArchDownPour
CirclePour150CirclePour
ButtonPour151ButtonPour
CurveUp152CurveUp
CurveDown153CurveDown
CanUp174CanUp
CanDown175CanDown
Wave1156Wave1
Wave2157Wave2
DoubleWave1158DoubleWave1
DoubleWave2159DoubleWave2
Inflate160Inflate
Deflate161Deflate
InflateBottom162InflateBottom
DeflateBottom163DeflateBottom
InflateTop164InflateTop
DeflateTop165DeflateTop
DeflateInflate166DeflateInflate
DeflateInflateDeflate167DeflateInflateDeflate
FadeRight168FadeRight
FadeLeft169FadeLeft
FadeUp170FadeUp
FadeDown171FadeDown
SlantUp172SlantUp
SlantDown173SlantDown
CascadeUp154CascadeUp
CascadeDown155CascadeDown
Mixed255Mixed

Examples

[C#]

namespace Demos
{
    using Aspose.Cells;
    using Aspose.Cells.Drawing;
    using System;

    public class MsoPresetTextEffectShapeDemo
    {
        public static void MsoPresetTextEffectShapeExample()
        {
            // Instantiating a Workbook object
            Workbook workbook = new Workbook();
            Worksheet worksheet = workbook.Worksheets[0];
            ShapeCollection shapes = worksheet.Shapes;

            // Adding a WordArt text effect shape
            shapes.AddTextEffect(MsoPresetTextEffect.TextEffect1, "Aspose", "Arial", 30, false, false, 0, 0, 0, 0, 100, 200);
            TextEffectFormat textEffectFormat = shapes[0].TextEffect;

            // Setting the preset shape type
            textEffectFormat.PresetShape = MsoPresetTextEffectShape.ArchUpCurve;

            // Save the workbook
            workbook.Save("MsoPresetTextEffectShapeExample.xlsx");
        }
    }
}

See Also