Hi Matt,
I'm sorry, I referred high level function, the core method that I'm using is DocumentViewer.CloseDocument. Thanks for recommendation to use UnloadResources, but Its necessary to unregister event handlers registered on body by DocumentViewer. Its used in Single Page Application and I need to dispose all DocumentViewer resources correctly.
Is it possible to configure DocumentViewer to avoid registration of all event handlers? I'm using only methods for rendering of thumbnails & canvases, so I don't need other functionality related to UI interaction.
Thanks
Michael