The addEventListener function registers event listener functions on the TXDocumentViewer object.
Introduced: X19.
<void> TXDocumentViewer.addEventListener(<string> eventName, <function> callback)