ReportViewer.ZoomCalculated 属性

获取基于缩放模式计算的页面缩放。

命名空间:  Microsoft.Reporting.WinForms
程序集:  Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)

语法

声明
<BrowsableAttribute(False)> _
Public ReadOnly Property ZoomCalculated As Integer
    Get
用法
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 ();
}
[<BrowsableAttribute(false)>]
member ZoomCalculated : int
function get ZoomCalculated () : int

属性值

类型:System.Int32
一个表示计算的缩放百分比的 integer。默认值为 100。

注释

ZoomMode 设置为 FullPagePageWidth 时,此属性返回舍入到最接近整数的缩放计算值。最小值为 1。当 ZoomMode 设置为 Percent 时,此属性返回与 ZoomPercent 相同的值。

如果当前未显示任何报表页,则返回值 100。

请参阅

参考

ReportViewer 类

Microsoft.Reporting.WinForms 命名空间