FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread.Model 名前空間 > ICustomNameSupport インタフェース > AddCustomName メソッド : AddCustomName(String,Expression) メソッド |
'Declaration
Overloads Sub AddCustomName( _ ByVal name As String, _ ByVal value As Expression _ )
void AddCustomName( string name, Expression value )
FarPoint.Win.Spread.Model.ICustomNameSupport cns; cns = (FarPoint.Win.Spread.Model.ICustomNameSupport)fpSpread1.ActiveSheet.Models.Data; cns.AddCustomName("ALPHA", new FarPoint.CalcEngine.DoubleExpression(20)); fpSpread1.ActiveSheet.SetFormula(1, 1, "ALPHA");
Dim cns As FarPoint.Win.Spread.Model.ICustomNameSupport cns = FpSpread1.ActiveSheet.Models.Data cns.AddCustomName("ALPHA", New FarPoint.CalcEngine.DoubleExpression(20)) FpSpread1.ActiveSheet.SetFormula(1, 1, "ALPHA")