Skip to main content
Participating Frequently
Mar 23, 2026 11:03 AM UTC
Answered

Is there a way to check save status of the pdf

I am implementing one feauters which is performed when the pdf is closed. But it should only happen if the document has all its changes saved. Suppose if the user closes the pdf without saving the changes, the feauters will not trigger.

So I am looking for a way to see if the pdf is saved or not? I found one method PDDocIsModified. But it is not working

    JR Boulay
    JR BoulayCorrect answer
    Community Expert
    Mar 24, 2026 11:44 PM UTC

    I guess that you should use the dirty property of the document, see:

    https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#dirty

     

    Acrobate du PDF, InDesigner et Photoshopographe

    1 reply

    JR Boulay
    Community Expert
    JR BoulayCommunity ExpertCorrect answer
    Community Expert
    Mar 24, 2026 11:44 PM UTC

    I guess that you should use the dirty property of the document, see:

    https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/doc.html#dirty

     

    Translate
    Acrobate du PDF, InDesigner et Photoshopographe