0
早上好, 點擊顯示在Android PDF,制定一個表格(部分),我跑的算法來處理iTextSharp的FIL PDF,在那裏我張貼以下說明:iTextSharp的處理,但它並不
Dim doc As New Document(iTextSharp.text.PageSize.A4.Rotate, 10, 10, 60, 30)
Dim pdfFilePath As String = Resources.FrmParcheggio.Soste & ".pdf"
Dim Response As HttpResponse = HttpContext.Current.Response
Response.Clear()
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", "inline; filename=" & pdfFilePath)
Dim wri As PdfWriter = PdfWriter.GetInstance(doc, Response.OutputStream)
Dim Intestazione As New MyPageEventHandler
Intestazione.Cliente = HttpContext.Current.Session("NomeCliente")
Intestazione.NomeReport = Resources.FrmParcheggio.TitoloReport
wri.PageEvent = Intestazione
doc.Open()
' various processing
doc.Close()
我的問題是,在不同的瀏覽器(win和mac os),它可以與ios協同工作,但Android全部解決了,但是PDF不顯示......爲什麼?有一些錯誤? 非常感謝那些迴應。 大衛
好的,我試過在另一個Android上,一切正常!非常感謝Bruno Lowagie – Dave