Partager via


_Chart.SetBackgroundPicture Method

Sets the background graphic for a worksheet or chart.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub SetBackgroundPicture ( _
    Filename As String _
)
'Usage
Dim instance As _Chart
Dim Filename As String

instance.SetBackgroundPicture(Filename)
void SetBackgroundPicture(
    string Filename
)

Parameters

  • Filename
    Type: System.String

    Required String. The name of the graphic file.

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace