共用方式為


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 命名空間