Click or drag to resize

InputClientImeSetCompositionAsync Method

Version 94.4.20
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: 94.4.20.0 (94.4.20.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