GC.Spread.Sheets.Touch Namespace > TouchToolStripItem class : text Method |
var instance = new GC.Spread.Sheets.Touch.TouchToolStripItem(name, text, image, command, canExecute); var returnValue; // Type: any returnValue = instance.text(value);
function text( value : string ) : any;
var tts = new GC.Spread.Sheets.Touch.TouchToolStripItem(); tts.image("cut.png"); tts.name("C"); tts.text("Delete"); spread.touchToolStrip.add(tts, function(){ }); spread.touchToolStrip.getItem("C").font("15px Arial").foreColor("red");