共用方式為


ReportViewer.ZoomMode 屬性

Gets or sets the zoom mode of the control.

命名空間: Microsoft.Reporting.WinForms
組件: Microsoft.ReportViewer.WinForms (在 microsoft.reportviewer.winforms.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.WinForms 命名空間