Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

SheetView.Zoom Property

Returns or specifies the zoom percentage for a sheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.2.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