共用方式為


ReportViewer.BackgroundImageLayout 屬性

取得或設定 ReportViewer 控制項的背景影像配置。

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

語法

'宣告
Public Overrides Property BackgroundImageLayout As ImageLayout
    Get
    Set
'用途
Dim instance As ReportViewer
Dim value As ImageLayout

value = instance.BackgroundImageLayout

instance.BackgroundImageLayout = value
public override ImageLayout BackgroundImageLayout { get; set; }
public:
virtual property ImageLayout BackgroundImageLayout {
    ImageLayout get () override;
    void set (ImageLayout value) override;
}
abstract BackgroundImageLayout : ImageLayout with get, set
override BackgroundImageLayout : ImageLayout with get, set
override function get BackgroundImageLayout () : ImageLayout
override function set BackgroundImageLayout (value : ImageLayout)

屬性值

型別:System.Windows.Forms.ImageLayout
包含 ReportViewer 控制項之背景影像配置的 ImageLayout 物件。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WinForms 命名空間