Spread Windows Forms 10.0 Product Documentation
ImeSentenceMode Property (NamedStyle)
Example 


Gets or sets the IME sentence mode for the style.
Syntax
'Declaration
 
Public Overrides Property ImeSentenceMode As ImeSentenceMode
'Usage
 
Dim instance As NamedStyle
Dim value As ImeSentenceMode
 
instance.ImeSentenceMode = value
 
value = instance.ImeSentenceMode
public override ImeSentenceMode ImeSentenceMode {get; set;}
Example
This example sets the ImeSentenceMode property.
//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"
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

NamedStyle Class
NamedStyle Members

 

 


Copyright © GrapeCity, inc. All rights reserved.