Click or drag to resize

InputClient.ImeSetCompositionAsync Method

Version 110.0.300
This method sets the current candidate text for ime. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition.

Namespace:  CefSharp.DevTools.Input
Assembly:  CefSharp (in CefSharp.dll) Version: 110.0.300.0 (110.0.300.0)
Syntax
public Task<DevToolsMethodResponse> ImeSetCompositionAsync(
	string text,
	int selectionStart,
	int selectionEnd,
	int? replacementStart = null,
	int? replacementEnd = null
)

Parameters

text
Type: System.String
The text to insert
selectionStart
Type: System.Int32
selection start
selectionEnd
Type: System.Int32
selection end
replacementStart (Optional)
Type: System.Nullable<Int32>
replacement start
replacementEnd (Optional)
Type: System.Nullable<Int32>
replacement end

Return Value

Type: Task<DevToolsMethodResponse>
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also