SpreadJS 13
GC.Spread.Sheets.Touch Namespace / TouchToolStrip class / imageAreaHeight Method
The image area height.
In This Topic
    imageAreaHeight Method
    In This Topic
    Gets or sets the image area height.
    Syntax
    var instance = new GC.Spread.Sheets.Touch.TouchToolStrip(workbook, host);
    var value; // Type: any
    value = instance.imageAreaHeight(height);
    function imageAreaHeight( 
       height : number
    ) : any;

    Parameters

    height
    The image area height.

    Return Value

    If no value is set, returns the image area height; otherwise, returns the toolbar.
    Example
    This example uses the imageAreaHeight 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());
    Remarks
    The default value is 32 pixels.
    See Also