MESCIUS SPREAD for Windows Forms 15.0J
ImeMode プロパティ (NamedStyle)
使用例 

スタイルのIMEモードを取得または設定します。
構文
'宣言
 
Public Overrides Property ImeMode As ImeMode
public override ImeMode ImeMode {get; set;}
使用例
次のサンプルコードは、ImeMode プロパティを設定します。
//fpSpread1.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.BiasForSpeech;
fpSpread1.Sheets[0].Cells[0, 0].ImeMode = Windows.Forms.ImeMode.Alpha;
fpSpread1.Sheets[0].Cells[0, 0].ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Direct;
//fpSpread1.Sheets[0].Rows[0].ImeMode = ImeMode.Katakana;
//fpSpread1.Sheets[0].Rows[0].ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Normal;
//fpSpread1.Sheets[0].Columns[0].ImeMode = ImeMode.Disable;
//fpSpread1.Sheets[0].Columns[0].ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Inherit;

//FarPoint.Win.Spread.NamedStyle test = new FarPoint.Win.Spread.NamedStyle("style1");
//test.ImeMode = ImeMode.Alpha;
//test.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.NoControl;
//fpSpread1.NamedStyles.Add(test);
//fpSpread1.Sheets[0].Cells[1, 1].StyleName = "style1";
'FpSpread1.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.BiasForSpeech
FpSpread1.Sheets(0).Cells(0, 0).ImeMode = Windows.Forms.ImeMode.Alpha
FpSpread1.Sheets(0).Cells(0, 0).ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Direct
'FpSpread1.Sheets(0).Rows(0).ImeMode = Windows.Forms.ImeMode.Katakana
'FpSpread1.Sheets(0).Rows(0).ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Normal
'FpSpread1.Sheets(0).Columns(0).ImeMode = Windows.Forms.ImeMode.Disable
'FpSpread1.Sheets(0).Columns(0).ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Inherit

'Dim test As New FarPoint.Win.Spread.NamedStyle("style1")
'test.ImeMode = Windows.Forms.ImeMode.Alpha
'test.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.NoControl
'FpSpread1.NamedStyles.Add(test)
'FpSpread1.Sheets(0).Cells(1, 1).StyleName = "style1"
参照

NamedStyle クラス
NamedStyle メンバ

 

 


© MESCIUS inc. All rights reserved.