ReportPageSettings.PaperSize 属性

表示报表页的纸张大小设置。只读。

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.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.WebForms 命名空间