次の方法で共有


ReportPageSettings.PaperSize プロパティ

レポート ページの用紙サイズ設定を表します。読み取り専用です。

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

構文

'宣言
Public ReadOnly Property PaperSize As PaperSize
    Get
'使用
Dim instance As ReportPageSettings
Dim value As PaperSize

value = instance.PaperSize
public PaperSize PaperSize { get; }
public:
property PaperSize^ PaperSize {
    PaperSize^ get ();
}
member PaperSize : PaperSize
function get PaperSize () : PaperSize

プロパティ値

型: System.Drawing.Printing.PaperSize
レポート ページのサイズに関する情報を含んでいる読み取り専用の PaperSize オブジェクト。

説明

返される PaperSize オブジェクトの Width プロパティは、常に Height プロパティ以下の値です。レポート ページの向きを確認するには、IsLandscape を使用します。

関連項目

参照

ReportPageSettings クラス

Microsoft.Reporting.WinForms 名前空間