Click or drag to resize

IBrowserHostImeSetComposition Method

Version 130.1.90
Begins a new composition or updates the existing composition. Blink has a special node (a composition node) that allows the input method to change text without affecting other DOM nodes. This method may be called multiple times as the composition changes. When the client is done making changes the composition should either be canceled or completed. To cancel the composition call ImeCancelComposition. To complete the composition call either ImeCommitText or ImeFinishComposingText. Completion is usually signaled when: The client receives a WM_IME_COMPOSITION message with a GCS_RESULTSTR flag (on Windows). This method is only used when window rendering is disabled. (WPF and OffScreen)

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
void ImeSetComposition(
	string text,
	CompositionUnderline[] underlines,
	Range? replacementRange,
	Range? selectionRange
)

Parameters

text  String
is the optional text that will be inserted into the composition node
underlines  CompositionUnderline
is an optional set of ranges that will be underlined in the resulting text.
replacementRange  NullableRange
is an optional range of the existing text that will be replaced. (MAC OSX ONLY)
selectionRange  NullableRange
is an optional range of the resulting text that will be selected after insertion or replacement.
See Also