Hello, I’m trying to use Aspose cells to work with page break. It works fine.
However, once workbook saved font style changed from default “Arial” to “Calibri”.
Can you please advise how to avoid this.
Regards,
Natasha
Hello, I’m trying to use Aspose cells to work with page break. It works fine.
However, once workbook saved font style changed from default “Arial” to “Calibri”.
Can you please advise how to avoid this.
Regards,
Natasha
Thanks for using Aspose APIs.
Please provide us your Excel files and the sample code that replicates your issue. We will look into it and help you asap.
Please also download and try the most recent version and see if it makes any difference and resolves your issue. Let us know your feedback.
Download Link:
Thank you so much for getting back to us.
Please find code below and 2 Excel files.
var book = new Aspose.Cells.Workbook(FilePath);
book.Worksheets[0].HorizontalPageBreaks.Clear();
book.Worksheets[0].VerticalPageBreaks.Clear();
book.Worksheets[0].PageSetup.FitToPagesTall = 0;
book.Worksheets[0].PageSetup.FitToPagesWide = 1;
book.Worksheets[0].IsPageBreakPreview = true;
book.Save(FilePathOut);
Trying to upload files, getting the error - The file must be a .nupkg file.
You may please try once by zip the file and then send. If not sent, please upload them to any file sharing server like Dropbox or Google drive and share the link here.
Thank you! Just want to confirm that this is free support. Correct?
Thank you so much!
It seems that you are using some old version as this issue is not re-produced with the latest version Aspose.Cells for .NET 18.6. Please give it a try and provide your feedback here.
Thank you for the answer. We are using Aspose.Cells.dll can you please provide URL from where we can download latest version.
Thank you!
Thank you so much for your help! It worked.
Good to know that the latest version sorted out your issue now. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.