Close





 
Spire.XLS

The sample demonstrates how to define named cell references or ranges in excel workbook.

Download MiscDataTable.xls

Tuesday, 30 August 2011 09:21

XLS Report Silverlight

Written by Administrator

The sample demonstrates how to work with MarkerDesign in Silverlight via Spire.XLS.

Download template xls file.

Download data table file.

Download merged result file.

Question:

I am using Trail version of Spire Office for .Net. My requirement is converting Excel to Image. It is ok. But if a sheet has multiple pages, all these pages are coming in image. But i want to convert first page from first sheet as image. Can we do this with Spire Office for .Net?

Answer:

You can convert a special range in a sheet to an image. For example, one sheet has a big rang A1:N50, should be converted to 4 images. We can:
sheet.SaveToImage(1, 1, 25, 7).Save("image1.png", ImageFormat.Png);
sheet.SaveToImage(1, 8, 25, 14).Save("image2.png", ImageFormat.Png);
sheet.SaveToImage(26, 1, 50, 7).Save("image3.png", ImageFormat.Png);
sheet.SaveToImage(26, 8, 50, 14).Save("image4.png", ImageFormat.Png);
          

If this doesn't answer your question, please do not hesitate to add your question in our forum. Our technical support will answer soon (we promise to response within 1 business day)!



Download Spire.XLS
Purchase Spire.XLS
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Page 9 of 20