使用されていません。PenInputPanel オブジェクトにより使用される擬似事実の文字列名を取得または設定します。PenInputPanel は Microsoft.Ink.TextInput に置き換えられました。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink (Microsoft.Ink.dll 内)
構文
'宣言
Public Property Factoid As String
'使用
Dim instance As PenInputPanel
Dim value As String
value = instance.Factoid
instance.Factoid = value
public string Factoid { get; set; }
public:
property String^ Factoid {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Factoid()
/** @property */
public void set_Factoid(String value)
public function get Factoid () : String
public function set Factoid (value : String)
プロパティ値
型 : System.String
PenInputPanel オブジェクトにより使用される擬似事実の名前。
値 |
説明 |
---|---|
既定。 |
西洋言語の擬似事実の既定の設定には、システム辞書、ユーザー辞書、各種の句読点、Web および Number の擬似事実などがあります。 東アジア言語の擬似事実の既定の設定には、認識エンジンによりサポートされるすべての文字が含まれます。 |
解説
擬似事実は、特定のフィールド内のインクに認識エンジン コンテキストを提供します。擬似事実は、入力フィールドが既知の型の場合に指定します。たとえば、入力フィールドに日付が含まれている場合は、Date の擬似事実を指定します。
Factoid プロパティは、Factoid オブジェクトではなく String を取得または返します。Factoid プロパティで使用可能な値の一覧については、「Supported Factoids from Version 1」を参照してください。
サポートされる擬似事実の一覧については、Factoid オブジェクトおよび「Supported Factoids from Version 1」を参照してください。
![]() |
---|
擬似事実の文字列表現では、大文字と小文字が区別されます。 |
このプロパティは、キーパッドまたはキーボードには影響を与えません。
WordList の擬似事実は、PenInputPanel オブジェクトではサポートされません。
Factoid プロパティの既定値は Default です。ラテン スクリプトの認識エンジンを使用するロケールでは、すべての擬似事実を使用できます。東アジア言語文字の認識エンジンを使用するロケールには、次の擬似事実の値が関連しています。
Digit は、東アジア言語の手書きパッドでは Num バイアス ボタンを意味します。
OneChar は、東アジア言語の手書きパッドでは Alpha バイアス ボタンを意味します。
共通擬似事実 (JapaneseCommon、ChineseSimpleCommon、ChineseTraditionalCommon、KoreanCommon、KanjiCommon、および HangulCommon) は、東アジア言語の手書きパッドでは Alpha/Num バイアス ボタンを意味します。
Digit および OneChar 以外のすべての擬似事実の値は、現在の入力ロケールに適切な共通擬似事実として解釈されます。
Factoid プロパティが設定されている場合、SetInputScope 関数も呼び出されていない場合のみ認識エンジンに転送されます。
![]() |
---|
部分信頼で使用している場合、このプロパティには PenInputPanel により必要とされるアクセス許可に加えて、SecurityPermissionFlag.AllFlags アクセス許可が必要です。詳細については、「Security and Trust」を参照してください。 |
例
この C# の例では、PenInputPanel オブジェクト thePenInputPanel を作成し、それを InkEdit コントロール theInkEdit に結合します。次に、認識エンジン コンテキストの Factoid プロパティを、バイアス認識用の番号に設定します。
[C#]
// Declare, create, and attach a new PenInputPanel object to an InkEdit control
PenInputPanel thePenInputPanel = new PenInputPanel(theInkEdit);
// Set the PenInputPanel object to bias recognition toward numbers
thePenInputPanel.Factoid = Factoid.Digit;
この Microsoft® Visual Basic® .NET の例では、PenInputPanel オブジェクト thePenInputPanel を作成し、それを InkEdit コントロール theInkEdit に結合します。次に、認識エンジン コンテキストの Factoid プロパティを、バイアス認識用の番号に設定します。
[Visual Basic]
' Declare, create, and attach a new PenInputPanel to an InkEdit control
Dim thePenInputPanel As New PenInputPanel(theInkEdit)
' Set the PenInputPanel object to bias recognition toward numbers
thePenInputPanel.Factoid = Factoid.Digit
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0