Free Support Forum - aspose.com

Not Converting the Excel file to tiff

I am currently using Aspose.Cell component and i am not able to convert the attached excel file to tiff.
Can you please help me on this.
Regards
Anish

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

Please download and use the latest version: Aspose.Cells
for .NET v7.3.4.2
. It should work fine at your end.

I have successfully converted your source file into tiff image using the latest version with the following code.

Please see the test code below. I have attached the output image for your reference.

C#


string filePath = @“F:\Shak-Data-RW\Downloads\Book1.xlsx”;


Aspose.Cells.Workbook workbook = new Workbook(filePath);

Aspose.Cells.Rendering.ImageOrPrintOptions options = new ImageOrPrintOptions();

options.ImageFormat = ImageFormat.Tiff;

Aspose.Cells.Rendering.WorkbookRender render = new WorkbookRender(workbook, options);

render.ToImage(filePath + “.out.tiff”);