public static void Run()
        {
            //Output directory
            string outputDir = RunExamples.Get_OutputDirectory();

            // ExStart:1
            // Create workbook object
            Workbook workbook = new Workbook();

            // Access first worksheet
            Worksheet worksheet = workbook.Worksheets[0];

            // Create a textbox with some text
            TextBox textbox = worksheet.Shapes.AddTextBox(0, 0, 0, 0, 100, 700);

            textbox.Text      = "Aspose File Format APIs";
            textbox.Font.Size = 44;

            // Sets preset WordArt style to the text of the shape.
            FontSetting fntSetting = textbox.GetCharacters()[0] as FontSetting;

            fntSetting.SetWordArtStyle(PresetWordArtStyle.WordArtStyle3);

            // Save the workbook in xlsx format
            workbook.Save(outputDir + "outputSetPresetWordArtStyle.xlsx");
            // ExEnd:1

            Console.WriteLine("SetPresetWordArtStyle executed successfully.");
        }
        public static void Run()
        {
            // ExStart:1
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

            // Create workbook object
            Workbook wb = new Workbook();

            // Access first worksheet
            Worksheet ws = wb.Worksheets[0];

            // Create a textbox with some text
            TextBox tb = ws.Shapes.AddTextBox(0, 0, 0, 0, 100, 700);

            tb.Text      = "Aspose File Format APIs";
            tb.Font.Size = 44;

            // Sets preset WordArt style to the text of the shape.
            FontSetting fntSetting = tb.GetCharacters()[0] as FontSetting;

            fntSetting.SetWordArtStyle(PresetWordArtStyle.WordArtStyle3);

            // Save the workbook in xlsx format
            wb.Save(dataDir + "output_out_.xlsx");
            // ExEnd:1
        }