Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / SetBackgroundPicture Method / SetBackgroundPicture(String,String) Method
The name of the graphic file.
The file content type.


In This Topic
    SetBackgroundPicture(String,String) Method
    In This Topic
    Sets the background graphic for a worksheet.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetBackgroundPicture( _
       ByVal filename As String, _
       ByVal contentType As String _
    ) 
    'Usage
     
    
    Dim instance As Worksheet
    Dim filename As String
    Dim contentType As String
     
    instance.SetBackgroundPicture(filename, contentType)
    public void SetBackgroundPicture( 
       string filename,
       string contentType
    )

    Parameters

    filename
    The name of the graphic file.
    contentType
    The file content type.
    See Also