Spread.Sheets Documentation
itemHeight Method
The toolbar item height.
Gets or sets the toolbar item height.
Syntax
var instance = new GC.Spread.Sheets.Touch.TouchToolStrip(workbook, host);
var value; // Type: any
value = instance.itemHeight(height);
function itemHeight( 
   height : number
) : any;

Parameters

height
The toolbar item height.

Return Value

If no value is set, returns the toolbar item height; otherwise, returns the toolbar.
Example
This example uses the itemHeight method.
spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.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 GC.Spread.Sheets.Touch.TouchToolStripSeparator());
See Also

Reference

TouchToolStrip class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.