次の方法で共有


ReportViewer.ZoomCalculated プロパティ

ズーム モードに基づいて計算されたページ ズームを取得します。

名前空間:  Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

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

プロパティ値

型 : Int32
計算されたズームの比率を表す整数値。既定値は 100 です。

解説

ZoomModeFullPage または PageWidth に設定されている場合、このプロパティは計算されたズーム値を最も近い整数に丸めて返します。最小値は 1 です。ZoomModePercent に設定されている場合、このプロパティは ZoomPercent と同じ値を返します。

現在表示されているレポート ページがない場合、値 100 が返されます。

参照

関連項目

ReportViewer クラス

Microsoft.Reporting.WinForms 名前空間