[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IWorksheet.SetBackgroundPicture

SetBackgroundPicture Method

SetBackgroundPicture(string, string)

Sets the background graphic for a worksheet.

Declaration
void SetBackgroundPicture(string filename, string contentType = null)
Sub SetBackgroundPicture(filename As String, Optional contentType As String = Nothing)
Parameters
Type Name Description
string filename

The name of the graphic file.

string contentType

The file content type.

SetBackgroundPicture(Stream, string)

Sets the background graphic for a worksheet.

Declaration
void SetBackgroundPicture(Stream imageStream, string contentType)
Sub SetBackgroundPicture(imageStream As Stream, contentType As String)
Parameters
Type Name Description
Stream imageStream

The graphic binary data.

string contentType

The data content type.