PDF Viewer Issue

Posted by: amit.ghanekar on 13 January 2020, 7:02 pm EST

    • Post Options:
    • Link

    Posted 13 January 2020, 7:02 pm EST

    I have an issue with PDF Viewer in WPF. When I invoke pdfViewer.LoadDocument or vm.ShowDialog the image (jpeg, png,bmp) in it can be deleted from the file system.

    PDFPreviewView is the PDF Preview window.

    Following is the code:

    var vm = new PDFPreviewView();

    vm.pdfViewer.LoadDocument(filename);

    vm.ShowDialog();

    Does PDFViewer unlock the image ?

    I expect Windows File in Use dialog.

    Require some urgent help

  • Posted 14 January 2020, 6:38 pm EST

    Hi Amit,

    A Pdf file creates a local copy for any inserted image file. Therefore now the file in system is different from the one displayed in a pdf. So, IMO this is not related to the PdfViewer.

    Regards,

    Basant

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels