InputClientImeSetCompositionAsync Method |
Version 130.1.90
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.InputAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.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 String
- The text to insert
- selectionStart Int32
- selection start
- selectionEnd Int32
- selection end
- replacementStart NullableInt32 (Optional)
- replacement start
- replacementEnd NullableInt32 (Optional)
- replacement end
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also