evCreate API 5.7 Help

GetSelection Function

Returns a range that specifies which characters are selected in the text edited in line in an Envision document currently opened in the Canvas Envision Creator app.

GetSelection(): Promise<[[[EvCharSpan|evcharspan-interface.html]]]>

Return value

Promise<EvCharSpan>

A Promise that, if fulfilled, resolves to an EvCharSpan object that specifies which characters are selected in the text edited in line in the current document.

This function will return an empty range if no text item is edited in line.

{ "at":0, "count":0 }
17 April 2025