SpreadJS Documentation
backgroundImageLayout Method
The background image layout.
Gets or sets the background image layout for the Spread component.
Syntax
var instance = new GcSpread.Sheets.Spread(host, options);
var returnValue; // Type: Object
returnValue = instance.backgroundImageLayout(value);
function backgroundImageLayout( 
   value : ImageLayout
) : Object;

Parameters

value
The background image layout.

Return Value

The background image layout for the Spread.
Example
This example sets the layout for the Spread widget's background image.
var layout = GcSpread.Sheets.ImageLayout.Stretch;
activeSpread.backgroundImageLayout(layout);
Remarks
The default value is ImageLayout.Stretch.
See Also

Reference

Spread type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.