How to show a pdf file in the browser tab from an action method

前端 未结 2 1272
一生所求
一生所求 2021-01-16 11:26

I\'m trying to do pdf viewer functionality in mvc application. When user click the \"read the pdf\" link it should open a new tab/window and user should be able view the pdf

2条回答
  •  长情又很酷
    2021-01-16 11:53

    If you want to display the PDF Content in browser, you can use iTextShare dll.

    Refer the link http://www.codeproject.com/Tips/387327/Convert-PDF-file-content-into-string-using-Csharp.

    Reading PDF content with itextsharp dll in VB.NET or C#

提交回复
热议问题