MESCIUS SPREAD for ASP.NET 10.0J
EncodeValue フィールド (AppearanceProperty)

EncodeValueプロパティを表します(インデックスは7)。これはオブジェクトのEncodeValueを指定します。
構文
'Declaration
 
Public Shared ReadOnly EncodeValue As AppearanceProperty
public static readonly AppearanceProperty EncodeValue
次のサンプルコードは、EncodeValueプロパティを使用します。
FarPoint.Web.Spread.Appearance appr = new FarPoint.Web.Spread.Appearance();
FarPoint.Web.Spread.Cell acell;
bool bl;
appr.BackColor = System.Drawing.Color.Red;
appr.ForeColor = System.Drawing.Color.White;
appr.EncodeValue = true;
acell = FpSpread1.Cells[0, 0];
acell.BackColor = appr.BackColor;
acell.ForeColor = appr.ForeColor;
FpSpread1.ActiveSheetView.SetValue(0, 0, "AppearanceTest");
bl = appr.IsDefined(FarPoint.Web.Spread.AppearanceProperty.EncodeValue);
FpSpread1.ActiveSheetView.SetValue(1, 1, Convert.ToString(bl));
Dim appr As New FarPoint.Web.Spread.Appearance()
Dim acell As FarPoint.Web.Spread.Cell
Dim bl as Boolean
appr.BackColor = System.Drawing.Color.Red
appr.ForeColor = System.Drawing.Color.White
appr.EncodeValue = True
acell = FpSpread1.Cells(0, 0)
acell.BackColor = appr.BackColor
acell.ForeColor = appr.ForeColor
FpSpread1.ActiveSheetView.SetValue(0, 0, "AppearanceTest")
bl = appr.IsDefined(FarPoint.Web.Spread.AppearanceProperty.EncodeValue)
FpSpread1.ActiveSheetView.SetValue(1, 1, Convert.ToString(bl))
参照

AppearanceProperty クラス
AppearanceProperty メンバ

 

 


© MESCIUS inc. All rights reserved.