XlsIO delete range problem and saving as PDF

Hi,

I have one Excel file which serves me as a template to fill some data in. It contains one worksheet which has a few pages and some pictures on the top and bottom. In some cases, I have a situation that data to fill in will occupy only the first page, so I need to delete the rest. I tried deleteRow method but that still leaves pictures and some formattings. In general, what I want to do is to delete the rest of the pages so only one will stay.

Then this xls file will be saved to a pdf file, let's say to save it page from 1 to 1.

Best regards,



1 Reply

KK Konduru Keerthi Konduru Ravichandra Raju Syncfusion Team July 22, 2021 12:41 PM UTC

Hi Dubravko Fistric, 

Greetings from Syncfusion. 

We request you to share the Excel template you are using at your end (for reference) and let us know how you are importing data into the template which will helpful for us in investigating the query. Also please confirm the Syncfusion XlsIO version you are using at your end.  

Regards, 
Keerthi. 


Loader.
Up arrow icon