I have an application in which I have Excel workbook with legend on chart and when I save it legends are shrinking.
Environment info:
Excel version: Office 2007
Excel workbook format: Excel 97-2003 Workbook (.xls)
Espose.Cells runtime version: v2.0.50727
Espose.Cells version: 5.3.3.0
Code snippet:
[Test]<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
public void Aspose_Legend_Shrinking_Test()
{
const string excelFile = @"C:\Users\mpatel\Desktop\GraphLegend.xls";
const string excelFile1 = @"C:\Users\mpatel\Desktop\GraphLegendOutput.xls";
var wb = new Workbook(excelFile);
wb.Save(excelFile1, SaveFormat.Excel97To2003);
}
I have attached GraphLegend.xls here please use it for this test.
In GraphLegend.xls legend size was 8 and in GraphLegendOutput.xls it’s shrinking to 7.4