SpreadJS Documentation
imageAreaHeight Method
The image area height.
Sets the image area height.
Syntax
var instance = new GcSpread.Sheets.TouchToolStrip(spread, host);
var value; // Type: any
value = instance.imageAreaHeight(height);
function imageAreaHeight( 
   height : number
) : any;

Parameters

height
The image area height.

Return Value

If called without a parameter, returns the current image area height; otherwise, returns the current toolbar object.
Example
This example uses the imageAreaHeight method.
spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripItem("C", "Delete", "tsoutline.png", function(){ }))
spread.touchToolStrip.getItem("C").font("15px Arial").foreColor("red");
spread.touchToolStrip.imageAreaHeight(30);
spread.touchToolStrip.itemHeight(80);
spread.touchToolStrip.itemWidth(50);
spread.touchToolStrip.add(new GcSpread.Sheets.TouchToolStripSeparator());
Remarks
The default value is 32 pixels.
See Also

Reference

TouchToolStrip class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.