Compartilhar via


_Worksheet.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 _Worksheet
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

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace