[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheet.BackgroundPicture

BackgroundPicture Property

BackgroundPicture

Gets or sets the background image data of the worksheet.

Gets a byte array that contains the worksheet background image data, or an empty byte array if no background image is set. Set a byte array that contains the background image data, or null to remove the background image.

Declaration
byte[] BackgroundPicture { get; set; }
Property BackgroundPicture As Byte()
Examples
byte[] picture = File.ReadAllBytes("background.png");
worksheet.BackgroundPicture = picture;
byte[] backgroundPicture = worksheet.BackgroundPicture;