We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.FitToPagesWide problems

It seems workSheet.PageSetup.FitToPagesWide = 1 corresponds to File -> Print -> Fit Sheet on One Page in Excel.
What I need to do is set Excel’s File-> Print -> Fit All Columns on One Page.
Is this possible in Aspose.Cells? And if not, why not?

Solved this.

I cannot find this in your documentation :

FitToPagesWide = 1;
FitToPagesTall = 0;

is the equivalent of Excels “Fit Columns on One Page”.

Hi,

It’s good to know that you are able to sort out this problem. Please feel free to post any of your further question. We will help you asap.