Spread Windows Forms 12.0 Product Documentation
ResetImeMode Method (StyleInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : ResetImeMode Method
Resets the ImeMode property to its default value.
Syntax
'Declaration
 
Public Overridable Sub ResetImeMode() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetImeMode()
public virtual void ResetImeMode()
Example
This example uses the ResetImeMode method.
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
si.ImeMode = ImeMode.Alpha;
si.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.BiasForNames;
si.InputScope = FarPoint.Win.InputScopeNameValue.Number;
si.ResetImeMode();
si.ResetImeSentenceMode();
si.ResetInputScope();
fpSpread1.ActiveSheet.DefaultStyle = si;
Dim si As New FarPoint.Win.Spread.StyleInfo()
si.ImeMode = ImeMode.Alpha
si.ImeSentenceMode = FarPoint.Win.ImeSentenceMode.BiasForNames
si.InputScope = FarPoint.Win.InputScopeNameValue.Number
si.ResetImeMode()
si.ResetImeSentenceMode()
si.ResetInputScope()
fpSpread1.ActiveSheet.DefaultStyle = si
See Also

Reference

StyleInfo Class
StyleInfo Members