次の方法で共有


ReportPageSettings.PaperSize プロパティ

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

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

構文

'宣言
Public ReadOnly Property PaperSize As PaperSize
public PaperSize PaperSize { get; }
public:
property PaperSize^ PaperSize {
    PaperSize^ get ();
}
member PaperSize : PaperSize with get
function get PaperSize () : PaperSize

プロパティ値

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

解説

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

参照

関連項目

ReportPageSettings クラス

Microsoft.Reporting.WinForms 名前空間