Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Worksheet Class / SetBackgroundPicture Method / SetBackgroundPicture(Stream,String) Method
The graphic binary data.
The file content type.


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

    Parameters

    imageStream
    The graphic binary data.
    contentType
    The file content type.
    See Also