ZoomMode Property
The document is archived and information here might be outdated

ReportViewer.ZoomMode Property 

Gets or sets the zoom mode of the control.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

public ZoomMode ZoomMode { get; set; }
/** @property */
public ZoomMode get_ZoomMode ()

/** @property */
public void set_ZoomMode (ZoomMode value)

public function get ZoomMode () : ZoomMode

public function set ZoomMode (value : ZoomMode)

Property Value

A ZoomMode enumerator value indicating the zoom mode of the control. The default value is 100%.

The Zoom drop-down list contains the following options: 500%, 200%, 150%, 100%, 75%, 50%, 25%, Page Width and Whole Page. In Normal mode, the default option is 100%. In Print Preview mode, the default option is Whole Page.

When the control is in Print Preview mode, the Page Width and Whole Page options use the dimensions of the physical page to calculate the zoom factor.

When the control is not in Print Preview mode, the Page Width and Whole Page options use the dimensions of the logical page to calculate the zoom factor.

Show:
© 2016 Microsoft