Use this method to destroy the Document Viewer instance. After destroying the instance, free the memory occupied by the reference variable using the
FREE statement.
CALL METHOD document_viewer->destroy_viewer EXCEPTIONS not_initialized = 1 free_failed = 2.