Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / ResetImeMode Method
Example


In This Topic
    ResetImeMode Method (Cell)
    In This Topic
    Resets the background color for the cell and makes the cell inherit the IME mode from the default cell.
    Syntax
    'Declaration
     
    Public Sub ResetImeMode() 
    'Usage
     
    Dim instance As Cell
     
    instance.ResetImeMode()
    public void ResetImeMode()
    Example
    This example uses the ResetImeMode method.
    fpSpread1.Sheets[0].Cells[0, 0].ImeMode = System.Windows.Forms.ImeMode.Alpha;
    fpSpread1.Sheets[0].Cells[0, 0].ImeSentenceMode = FarPoint.Win.ImeSentenceMode.Direct;
    fpSpread1.Sheets[0].Cells[0, 0].ResetImeMode();
    fpSpread1.Sheets[0].Cells[0, 0].ResetImeSentenceMode();
    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).Cells(0, 0).ResetImeMode()
    FpSpread1.Sheets(0).Cells(0, 0).ResetImeSentenceMode()
    See Also