evCreate API 5.7 Help

SetSelection Function

Selects characters within a given range in the text edited in line in an Envision document currently opened in the Canvas Envision Creator app.

SetSelection(span?: [[[EvCharSpan|evcharspan-interface.html]]]): Promise<void>

Parameters

span?: EvCharSpan

An EvCharSpan object, a given range of characters that should be selected in the text edited in line.

The default value is the entire text.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the characters have been successfully selected within the given range in the text edited in line.

This function will return undefined if no text item is edited in line.

18 April 2025