evCreate API 5.7 Help

RemoveHyperlinks Function

Removes hyperlinks from the characters given as a continuous range in a given text item in an Envision document currently opened in the Canvas Envision Creator app.

RemoveHyperlinks(obj: [[[EvItem|canvas-envision-document-items.html#object-items]]], span?: [[[EvCharSpan|evcharspan-interface.html]]]): Promise<void>

Parameters

obj: EvItem

An Object item object, a text item from the Envision document currently opened in the Canvas Envision Creator app with the given range of characters that should be cleared of hyperlinks.

If a given object item is not a text, the function throws an error.

span?: EvCharSpan

An EvCharSpan object, a given continuous range of characters that should be cleared of hyperlinks.

The default value is the entire text in the given text item.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if all the hyperlinks have been successfully removed from the characters within the given range in the given text item in the current document.

17 April 2025