GC.Spread.Sheets.Touch Namespace > TouchToolStripItem class : font Method |
var instance = new GC.Spread.Sheets.Touch.TouchToolStripItem(name, text, image, command, canExecute); var returnValue; // Type: any returnValue = instance.font(value);
function font( value : string ) : any;
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.add(new GC.Spread.Sheets.Touch.TouchToolStripSeparator());