Skip to main content
Participating Frequently
Nov 27, 2020 7:12 PM UTC
Answered

How to unload a PDF?

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 is closed to new replies. Start a new post to keep the conversation going.
    Joel Geraci
    Joel GeraciCorrect answer
    Community Expert
    Dec 1, 2020 4:28 PM UTC

    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
    Dec 1, 2020 4:28 PM UTC

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

    Translate