Skip to main content
Participating Frequently
November 27, 2020
Answered

How to unload a PDF?

  • November 27, 2020
  • 1 reply
  • 587 views

There are times where I want to stop viewing a PDF in our app as the user will be doing other actions, like viewing other media.

So I want to unload a PDF from the Viewer so as to release resources but may return to view another PDF later.

How can I do that? 

 

TIA

Rob

    This topic has been closed for replies.
    Correct answer Joel Geraci

    Set the Adobe DC View Object that you created to null and delete all children of the divID you set the hold the view.

    1 reply

    Joel Geraci
    Community Expert
    Joel GeraciCommunity ExpertCorrect answer
    Community Expert
    December 1, 2020

    Set the Adobe DC View Object that you created to null and delete all children of the divID you set the hold the view.