ReportViewer.ZoomMode 属性

Gets or sets the zoom mode of the control.

命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll 中)

语法

声明
用法

属性值

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.

另请参见

参考

ReportViewer 类
ReportViewer 成员
Microsoft.Reporting.WebForms 命名空间