Gets or sets the IME sentence mode for the style.
Syntax
Visual Basic (Declaration) | |
---|
Public Overrides Property ImeSentenceMode As ImeSentenceMode |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As NamedStyle
Dim value As ImeSentenceMode
instance.ImeSentenceMode = value
value = instance.ImeSentenceMode |
Example
This example sets the ImeSentenceMode property.
C# | Copy Code |
---|
//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"; |
VB.NET | Copy Code |
---|
'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" |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also