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

Parameters

height
The toolbar separator height.

Return Value

If no value is set, returns the toolbar separator height; otherwise, returns the toolbar.
Example
This example sets the separator height.
spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripItem("Cut", "Delete", "cut.png", function(){ }))
spread.touchToolStrip.getItem("Cut").font("15px Arial").foreColor("red");
spread.touchToolStrip.separatorHeight(33);
spread.touchToolStrip.add(new GC.Spread.Sheets.Touch.TouchToolStripSeparator());
Remarks
The default value is 45 pixels.
See Also

Reference

TouchToolStrip class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.