ReportViewer.ZoomCalculated Property

Gets the page zoom that is calculated based on the zoom mode.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property ZoomCalculated As Integer
'Usage
Dim instance As ReportViewer
Dim value As Integer

value = instance.ZoomCalculated
[BrowsableAttribute(false)] 
public int ZoomCalculated { get; }
[BrowsableAttribute(false)] 
public:
property int ZoomCalculated {
    int get ();
}
/** @property */
public int get_ZoomCalculated ()
public function get ZoomCalculated () : int

Property Value

An integer that represents the calculated zoom percentage. The default value is 100.

Remarks

When ZoomMode is set to FullPage or PageWidth, this property returns the calculated zoom value rounded to the nearest integer. The minimum value is 1. When ZoomMode is set to Percent, this property returns the same value as ZoomPercent.

If no report page is currently displayed, the value 100 is returned.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace