Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / ImeSentenceMode Property
Example


In This Topic
    ImeSentenceMode Property (Cell)
    In This Topic
    Gets or sets the ImeSentenceMode value for a cell.
    Syntax
    'Declaration
     
    Public Property ImeSentenceMode As ImeSentenceMode
    'Usage
     
    Dim instance As Cell
    Dim value As ImeSentenceMode
     
    instance.ImeSentenceMode = value
     
    value = instance.ImeSentenceMode
    public 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"
    See Also