What corresponds to a Zoom value of false in Excel Interop?

I'm refactoring some Excel Interop code to utilize Aspose Cells. One of the legacy lines of code related to printing a sheet is:

xlSheet.PageSetup.Zoom = false;

Aspose Cells does have a [Sheet].PageSetup.Zoom property, but it is an int, not a bool.

What corresponds to false - 100?

Hi Clay,


Thank you for contacting Aspose support.

Please note, in Excel Interop the PageSetup.Zoom = false means no zoom has to be applied to the worksheet, and the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled. If you wish to achieve the same with Aspose.Cells APIs, please set the PageSetup.FitToPagesTall & FitToPagesWide according to the application requirements. Aspose.Cells will automatically ignore any preferences set for Worksheet’s zoom.