InputClientImeSetCompositionAsync Method |
Version 99.2.120
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: 99.2.120.0 (99.2.120.0)
Syntax public Task<DevToolsMethodResponse> ImeSetCompositionAsync(
string text,
int selectionStart,
int selectionEnd,
int? replacementStart = null,
int? replacementEnd = null
)
public:
Task<DevToolsMethodResponse^>^ ImeSetCompositionAsync(
String^ text,
int selectionStart,
int selectionEnd,
Nullable<int> replacementStart = nullptr,
Nullable<int> replacementEnd = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also