Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Replaces an element’s children with plain Unicode text.

API: scripting
Project: Inno.UI
Scope: Runtime

bool InnoEngine.UI.IUiService.SetText(InnoEngine.UI.UiContextHandle context, InnoEngine.UI.UiDocumentHandle document, string elementId, string text)

Parameter context: The context that owns the requested document or state.

Parameter document: The document owned by the supplied context.

Parameter elementId: The target document element ID.

Parameter text: Plain Unicode replacement text; the backend performs source-language escaping.

True when the element exists and the replacement was applied; false when the element is absent. This is not a comparison with the preceding text.