Click or drag to resize

InputClientImeSetCompositionAsync Method

Version 112.3.0
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.Core (in CefSharp.Core.dll) Version: 112.3.0.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