Hi, Server pdf file did not display on client page's ABMPDFViewer control, but the file can be downloaded if press download button.
Anyone could tell me how to solve this problem?
Anyone could tell me how to solve this problem?
B4X:
Dim PdfViewer As ABMPDFViewer
PdfViewer.Initialize(page, "PdfViewer", 800, "../uploads/" & ClassID & ".pdf?" & DateTime.Now,"")
PdfViewer.PreparePrintingText = "Preparing to print..."
PdfViewer.ReadDirection = ABM.Pdf_READDIRECTION_LTR
PdfViewer.AllowDownload = True
PdfViewer.AllowOpen = False
PdfViewer.AllowPrint = False
PdfViewer.AllowSideBar = True
PdfViewer.AllowViewBookmark = False
page.CellR(1,1).AddComponent(PdfViewer)