Bug in the text rendering of smart art

Issue: the text in the smart art box is rendered vertically instead of horizontally.

To reproduce download the attached spreadsheet.

Run the following little program:

using System;
using System.Collections;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Aspose.Cells;
using Aspose.Cells.Charts;
using Aspose.Cells.Drawing;
using Aspose.Cells.Pivot;
using Aspose.Cells.Rendering;
using Aspose.Cells.Tables;
using TestAspose.NorthwindDataSetTableAdapters;

namespace TestAspose
{
class Program
{
static void Main(string[] args)
{
TestSmartArt();
Console.WriteLine(“Done!”);
Console.ReadKey();
}

public static void TestSmartArt()
{
Workbook workbook = new Workbook(@“C:\temp\spreadsheets\test_smart_art.xlsx”);
Worksheet worksheet = workbook.Worksheets[0];
ShapeCollection shapes = worksheet.Shapes;
foreach (Shape shape in shapes)
{

ImageOrPrintOptions options = new ImageOrPrintOptions();
options.ImageFormat = ImageFormat.Png;
string fileName = String.Format(“{0}.png”, Guid.NewGuid());
string path = “.\”;
string fullFileName = path + fileName;
shape.ToImage(fullFileName, options);

}
}
}
}

It will produce the image attached.



Hi Costa,

Thank you for providing your sample code and template files.

We are able to observe the said problem with latest fix version of Aspose.Cells for .NET v7.5.3.5. A ticket has been logged in our bug tracking system under Id CELLSNET-42066 to investigate the problem cause, and to rectify it at earliest. We will soon look into that matter in more detail while keeping you posted with updates on this.

Please accept our apologies for your inconvenience.