GC.Spread.Sheets.Touch 名前空間 > TouchToolStripItem クラス : foreColor メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Touch.TouchToolStripItem(name, text, image, command, canExecute); var returnValue; // Type: any returnValue = instance.foreColor(value); |
Javascript (Specification) | |
---|---|
function foreColor( value : string ) : any; |
<input type="button" id="button1" value="button1"/> 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()); $("#button1").click(function () { spread.touchToolStrip.remove("Cut"); activeSheet.resumePaint(); activeSheet.repaint(); });