Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IWorksheet Interface / 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
     
    
    Overloads Sub SetBackgroundPicture( _
       ByVal filename As String, _
       Optional ByVal contentType As String _
    ) 
    'Usage
     
    
    Dim instance As IWorksheet
    Dim filename As String
    Dim contentType As String
     
    instance.SetBackgroundPicture(filename, contentType)
    void SetBackgroundPicture( 
       string filename,
       string contentType
    )

    Parameters

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