共用方式為


ReportViewer.BackgroundImage 屬性

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

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

語法

'宣告
Public Overrides Property BackgroundImage As Image
    Get
    Set
'用途
Dim instance As ReportViewer
Dim value As Image

value = instance.BackgroundImage

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

屬性值

型別:System.Drawing.Image
包含控制項之背景影像的 Image 物件。

請參閱

參考

ReportViewer 類別

Microsoft.Reporting.WinForms 命名空間