First time here? Check out the FAQ!
![]() | 1 | initial version | |
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));
![]() | 2 | No.2 Revision |
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));
![]() | 3 | No.3 Revision |
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));