Version

ScalingFactor Property

Gets or sets the scaling factor to use when printing the worksheet.
Syntax
'Declaration
 
Public Property ScalingFactor As Integer
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: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also