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

[BrowsableAttribute(false)]
public int ZoomCalculated { get; }
public:
[BrowsableAttribute(false)]
property int ZoomCalculated {
    int get();
}
[<BrowsableAttribute(false)>]
member ZoomCalculated : int with get
<BrowsableAttribute(False)>
Public ReadOnly Property ZoomCalculated As Integer

Property Value

Type: System.Int32

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

ReportViewer Class
Microsoft.Reporting.WinForms Namespace

Return to top