Spread Windows Forms 7.0 Product Documentation
ImeSentenceMode Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > NamedStyle Class : ImeSentenceMode Property


Glossary Item Box

Gets or sets the IME sentence mode for the style.

Syntax

Visual Basic (Declaration) 
Public Overrides Property ImeSentenceMode As ImeSentenceMode
Visual Basic (Usage)Copy Code
Dim instance As NamedStyle
Dim value As ImeSentenceMode
 
instance.ImeSentenceMode = value
 
value = instance.ImeSentenceMode
C# 
public override ImeSentenceMode ImeSentenceMode {get; set;}

Example

This example sets the ImeSentenceMode property.
C#Copy Code
//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";
VB.NETCopy Code
'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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.