Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The value assigned is outside the valid range of 0 and 32767. |
A value of zero indicates no maximum is used in the vertical direction. As many pages as needed will be used.
Note: For MaxPagesHorizontally and MaxPagesVertically to affect the way the worksheet is printed, ScalingType must be set to a value of FitToPages. However, if the the ScalingType is different and these values aren't used, they will still be saved with the worksheet.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+