SpreadJS Documentation
backgroundImageLayout Method
The cell background image layout.
Gets or sets the background image layout for the cell.
Syntax
var instance = new GcSpread.Sheets.Cell(sheet, row, col, sheetArea);
var returnValue; // Type: ImageLayout
returnValue = instance.backgroundImageLayout(value);
function backgroundImageLayout( 
   value : ImageLayout
) : ImageLayout;

Parameters

value
The cell background image layout.

Return Value

The cell background image layout.
Example
This example uses the backgroundImageLayout method.
var layout = GcSpread.Sheets.ImageLayout.Stretch;
activeSheet.getCell(1,1).backgroundImageLayout(layout);
See Also

Reference

Cell type
Adding a Background Image

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.