共用方式為


ReportPageSettings.IsLandscape 屬性

表示報表定義檔案中定義的報表方向是否為橫向。

命名空間:  Microsoft.Reporting.WebForms
組件:  Microsoft.ReportViewer.WebForms (在 Microsoft.ReportViewer.WebForms.dll 中)

語法

'宣告
Public ReadOnly Property IsLandscape As Boolean
    Get
'用途
Dim instance As ReportPageSettings
Dim value As Boolean

value = instance.IsLandscape
public bool IsLandscape { get; }
public:
property bool IsLandscape {
    bool get ();
}
member IsLandscape : bool
function get IsLandscape () : boolean

屬性值

型別:System.Boolean
如果報表定義檔案中定義的報表方向是橫向,則為 true,否則為 false。

請參閱

參考

ReportPageSettings 類別

Microsoft.Reporting.WebForms 命名空間