iT邦幫忙

0

VS__C#__RDLC__框線粗細問題__0423已解決

下圖,整體畫面

VS

https://ithelp.ithome.com.tw/upload/images/20180402/20108584agO5X1OI19.png

WEB

https://ithelp.ithome.com.tw/upload/images/20180402/201085840ygXGmsV9M.png
點PDF產生報表檔案(PDF)

狀況一

下圖,圖一 網頁畫面
https://ithelp.ithome.com.tw/upload/images/20180331/20108584v7ZLOlNZRO.png
下圖,圖二 PDF
https://ithelp.ithome.com.tw/upload/images/20180331/20108584nENgRDpCr9.png

狀況二

下圖,圖三 網頁畫面
https://ithelp.ithome.com.tw/upload/images/20180331/20108584qvnmfAManA.png
下圖,圖四 PDF
https://ithelp.ithome.com.tw/upload/images/20180331/2010858469xEUU2Og5.png

有辦法框線粗細一樣,並且網頁畫面正常嗎?

04/23
補充:主管說以PDF為主,網頁畫面因語言關係(HTML結構),會怪怪的不理會,結案

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

1
暐翰
iT邦大師 1 級 ‧ 2018-03-31 18:18:54

1.確定使用字體一致,而且是雙方都支援的
2.把html轉成圖片再放進pdf
參考:【 html2canvas 】https://goo.gl/Hoy8p7
參考:【 javascript how to save html rendered on webpage as image
】https://goo.gl/L6xgSt

優悠 iT邦新手 3 級 ‧ 2018-04-02 10:16:26 檢舉

雖然沒解決我問題,但還是感謝回答

WilliamHuang
iT邦研究生 1 級 ‧ 2018-03-31 18:24:37
【**此則訊息已被站方移除**】

我要發表回答

立即登入回答