View.addTextMarkupAnnotationForSelectedText

Adds a Text Markup annotation (defaulting to a 'highlight' one) to the currently selected text on the document.

When the selected text spans more than one page, it will add a corresponding annotation for each page that contains selected text.

class View
bool
addTextMarkupAnnotationForSelectedText
()

Return Value

Type: bool

%TRUE if annotations were added successfully, %FALSE otherwise.

Meta

Since

3.30