Spread Windows Forms 8.0 Product Documentation
ImeMode Property (Cell)
Example 


Gets or sets the IME mode for a cell.
Syntax
'Declaration
 
Public Property ImeMode As ImeMode
'Usage
 
Dim instance As Cell
Dim value As ImeMode
 
instance.ImeMode = value
 
value = instance.ImeMode
public ImeMode ImeMode {get; set;}
Example
This example sets the ImeMode 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 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.