Javascript (Usage) | |
---|
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.backgroundImageLayout(value); |
Javascript (Specification) | |
---|
function backgroundImageLayout(
: ImageLayout
) : any; |
パラメータ
- value
- セルの背景画像レイアウト。
戻り値の型
値が設定されていない場合は、セルの背景画像レイアウトを返します。値が設定されている場合は、セルを返します。
次のサンプルコードは、画像レイアウトを設定します。
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);