Revision history [back]

click to hide/show revision 1
initial version

answered 2020-04-16 15:26:04 +0800

cor3000 gravatar image cor3000

ZK Team

just use Pdfviewer.setContent with an AMedia

Pdfviewer.setContent(
    new AMedia("some.pdf", "pdf", "application/pdf", 
               new File("/home/ubuntu/data/Allergy/EDI837PISASegment.pdf"), true));

just use Pdfviewer.setContent with an AMedia

Pdfviewer.setContent(
    new AMedia("some.pdf", AMedia("EDI837PISASegment.pdf", "pdf", "application/pdf", 
               new File("/home/ubuntu/data/Allergy/EDI837PISASegment.pdf"), true));

just use Pdfviewer.setContent with an AMedia (I assume you already use AMedia for download, so there's almost no difference)

Pdfviewer.setContent(
    new AMedia("EDI837PISASegment.pdf", "pdf", "application/pdf", 
               new File("/home/ubuntu/data/Allergy/EDI837PISASegment.pdf"), true));
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More