Click or drag to resize

InputClientImeSetCompositionAsync Method

Version 105.3.390
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: 105.3.390.0 (105.3.390.0)
Syntax
public Task<DevToolsMethodResponse> ImeSetCompositionAsync(
	string text,
	int selectionStart,
	int selectionEnd,
	int? replacementStart = null,
	int? replacementEnd = null
)

Parameters

text
Type: SystemString
The text to insert
selectionStart
Type: SystemInt32
selection start
selectionEnd
Type: SystemInt32
selection end
replacementStart (Optional)
Type: SystemNullableInt32
replacement start
replacementEnd (Optional)
Type: SystemNullableInt32
replacement end

Return Value

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