Version

MagnificationInPageLayoutView Property

Gets or sets the magnification level of the worksheet when it is displayed in page layout view.
Syntax
public int MagnificationInPageLayoutView {get; set;}

Property Value

The magnification level of the worksheet when it is displayed in page layout view.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException The assigned value is outside the valid range of magnification levels for a worksheet. The level must be between 10 and 400.
Remarks

Magnifications are stored as percentages of the normal viewing magnification. A value of 100 indicates normal magnification whereas a value of 200 indicates a zoom that is twice the normal viewing magnification.

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