Udostępnij za pośrednictwem


Właściwość ReportViewer.ZoomMode —

Gets or sets the zoom mode of the control.

Przestrzeń nazw:  Microsoft.Reporting.WinForms
Zestaw:  Microsoft.ReportViewer.WinForms (w Microsoft.ReportViewer.WinForms.dll)

Składnia

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

Wartość właściwości

Typ: Microsoft.Reporting.WinForms.ZoomMode
A ZoomMode enumerator value indicating the zoom mode of the control. The default value is 100%.

Uwagi

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.

Zobacz też

Informacje

ReportViewer Klasa

Przestrzeń nazw Microsoft.Reporting.WinForms