Text3DPresetEffect.cs
//
// This code is part of GrapeCity Documents for Word samples.
// Copyright (c) GrapeCity, Inc. All rights reserved.
//
using System;
using System.IO;
using System.Drawing;
using System.Collections.Generic;
using System.Linq;
using GrapeCity.Documents.Word;

namespace GcWordWeb.Samples
{
    // TBD:
    public class Text3DPresetEffect
    {
        public GcWordDocument CreateDocx()
        {
            var doc = new GcWordDocument();

            Paragraph paragraph = doc.Body.Paragraphs.Add();
            Run run = paragraph.GetRange().Runs.Add("Text effects Preset 5");
            run.Font.Size = 72f;

            // apply preset text effects
            run.Font.ApplyEffectsPreset(FontEffectsPreset.Preset5);

            // Done:
            return doc;
        }
    }
}