All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

SheetView.Zoom Property

Returns or specifies the zoom percentage for a sheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.1.Core.dll

Declaration

int Zoom { get; set; }

Property Value

Type Description
Int32

The zoom percentage.

Remarks

The following example specifies the zoom percentage for the first worksheet:

// Set the worksheet zoom level to 150%.
workbook.Worksheets[0].ActiveView.Zoom = 150;

Zoom a worksheet

The DocumentOptions.ZoomMode property specifies whether the zoom percentage applies to all worksheet views (WorksheetZoomMode.AllViews) or the current view only (WorksheetZoomMode.ActiveView).

Note

The WinForms, WPF and ASP.NET Spreadsheet controls can display the Normal worksheet view only.

See Also