Excel Save - Aspose PDF



I’ve download both Aspose.Excel and Asspose.Pdf and have manged to save an Excel file as XML and then converted it to a PDF. However this saves/converts the whole Excel workbook. Is it possible to save to save a cellrange and convert this?

Aspose.Excel.Excel excel = new Aspose.Excel.Excel();

Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();






You can set Print Area for that cell range. Then only that range of cells will be converted.


Do you mean by opening excel and setting print area or can this be done by the Aspose.Excel component.


These two approaches should all work.