Share via


ReportViewer.ZoomMode Property

 

Gets or sets the zoom mode of the control.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

public ZoomMode ZoomMode { get; set; }
public:
property ZoomMode ZoomMode {
    ZoomMode get();
    void set(ZoomMode value);
}
member ZoomMode : ZoomMode with get, set
Public Property ZoomMode As ZoomMode

Property Value

Type: Microsoft.Reporting.WinForms.ZoomMode

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

Remarks

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.

See Also

ReportViewer Class
Microsoft.Reporting.WinForms Namespace

Return to top