GC.Spread.Sheets Namespace > CellRange type : backgroundImageLayout Method |
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var returnValue; // Type: any returnValue = instance.backgroundImageLayout(value);
function backgroundImageLayout( value : ImageLayout ) : any;
var layout = GC.Spread.Sheets.ImageLayout.stretch;
activeSheet.getCell(1,1).backgroundImageLayout(layout);
var layout = GC.Spread.Sheets.ImageLayout.stretch;
activeSheet.getRange(1, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).backgroundImageLayout(layout);
var layout = GC.Spread.Sheets.ImageLayout.stretch;
activeSheet.getRange(-1, 1, -1, 1, GC.Spread.Sheets.SheetArea.viewport).backgroundImageLayout(layout);