MESCIUS SPREAD for ASP.NET 10.0J
ReferenceStyle プロパティ (IExpressionSupport)

セルの参照スタイルを取得または設定します。
構文
'Declaration
 
Property ReferenceStyle As ReferenceStyle
ReferenceStyle ReferenceStyle {get; set;}

プロパティ値

セル参照のスタイルを指定するReferenceStyle設定
FarPoint.Web.Spread.Model.IExpressionSupport ems; 
ems = (FarPoint.Web.Spread.Model.IExpressionSupport)FpSpread1.ActiveSheetView.DataModel; 
FpSpread1.ActiveSheetView.SetValue(0, 0, 5); 
FpSpread1.ActiveSheetView.SetValue(1, 0, 5); 
ems.ReferenceStyle = FarPoint.Web.Spread.Model.ReferenceStyle.R1C1; 
ems.SetFormula(2, 0, "SUM(R1C1, R2C1)"); 
Response.Write("The reference style is " + ems.ReferenceStyle.ToString());
Dim ems As FarPoint.Web.Spread.Model.IExpressionSupport
ems = FpSpread1.ActiveSheetView.DataModel
FpSpread1.ActiveSheetView.SetValue(0, 0, 5)
FpSpread1.ActiveSheetView.SetValue(1, 0, 5)
ems.ReferenceStyle = FarPoint.Web.Spread.Model.ReferenceStyle.R1C1
ems.SetFormula(2, 0, "SUM(R1C1, R2C1)")
Response.Write("The reference style is " & ems.ReferenceStyle.ToString())
参照

IExpressionSupport インタフェース
IExpressionSupport メンバ

 

 


© MESCIUS inc. All rights reserved.