The default values for the FitToPagesTall / FitToPagesWide properties is 1. How can I set to "Automatic" like the default value in Excel?
This message was posted using Aspose.Live 2 Forum
The default values for the FitToPagesTall / FitToPagesWide properties is 1. How can I set to "Automatic" like the default value in Excel?
Hi,
Well, you may try to set FitToPagesTall / FitToPagesWide properties of PageSetup to “0” for Automatic option.
e.g
workbook.Worksheets[0].PageSetup.FitToPagesTall = 0;
Thank you.
Thanks, this works!