Share via


HandwrittenTextInsertion Class

Used by the application's custom text entry code to insert the text into both the text field and the backing store of the Text Services Framework (TSF).

Namespace:  Microsoft.Ink.TextInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted := True)> _
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
Public Class HandwrittenTextInsertion
'Usage
Dim instance As HandwrittenTextInsertion
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class HandwrittenTextInsertion
[SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
public ref class HandwrittenTextInsertion
public class HandwrittenTextInsertion

Remarks

With HandwrittenTextInsertion an application developer can easily add powerful text correction support to applications. The Input Panel component hadles inserting the text along with the recongnition results into the text control using Text Services Framework (TSF).

Text services supply text to applications in a way that does not require any detailed knowledge of the applications that produce or receive the text. TSF exposes its framework to applications and text services through a set of COM interfaces. For more information on Text Services Framework, see Text Services Framework.

At the point at which text is entered using a custom inking surface or speech recognition and is to be displayed in a text services enabled text field, the application uses HandwrittenTextInsertion instead of sending it directly to the text field.

Inheritance Hierarchy

System.Object
  Microsoft.Ink.TextInput.HandwrittenTextInsertion

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

HandwrittenTextInsertion Members

Microsoft.Ink.TextInput Namespace