GcSpread.Sheets Namespace > Row type : backgroundImage Method |
var instance = new GcSpread.Sheets.Row(sheet, index, sheetArea); var returnValue; // Type: string returnValue = instance.backgroundImage(value);
function backgroundImage( value : string ) : string;
var cellImage = document.getElementById("circle").src; var rowImage = "./css/images/quarter1.png"; var colImage = document.getElementById("logo").src; sheet.getCell(3, 3).backgroundImage(cellImage); sheet.getRow(1).backgroundImage(rowImage); sheet.getColumn(1).backgroundImage(colImage); ... <img src="./css/images/box3.png" id="logo"/> <img src="./css/images/greencircle.png" id="circle"/>
activeSheet.getRow(1).backgroundImage("images/example.jpg");