Version

ScalingFactor Property

Gets or sets the scaling factor to use when printing the worksheet.
Syntax
public int ScalingFactor {get; set;}

Property Value

The scaling factor to use when printing the worksheet.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The assigned value is outside the valid range of 10 and 400.
Remarks

The scaling factor is similar to magnifications in that is it stored as a percentage of the normal scaling. A value of 100 indicates normal scaling whereas a value of 200 indicates the worksheet is scaled to twice its normal size.

Note: For ScalingFactor to affect the way the worksheet is printed, ScalingType must be set to a value of UseScalingFactor.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also