Last post Apr 30, 2019 03:27 AM by Fei Han - MSFT
Apr 09, 2019 02:54 PM|jayakumarvinayagam|LINK
I have to develop an API method to generate word and pdf document and send to the requested client, here I used .net core framework and have basic word template with place holder text(Replaceable text).
There is any nuget package to support for find and replace the dynamic text to the place holder in the document, create pdf too for the same update document.
Apr 10, 2019 09:17 AM|Yohann Lu|LINK
You can try to search in NuGet Gallery | Packages matching DOCX , Pdf
If you have any question about ASP.NET Core, please go to the ASP.NET Core forum
Apr 17, 2019 08:31 AM|Jamesbr|LINK
There is a nuget package called Spire.Doc for .NET that might suffice your requirement like supporting .net core framework, finding and replacing text in word and converting to pdf etc.. I would also like to mention Spire.Doc for .NET is a commercial & also
a multi-functional library, but it's not very expensive compared to other products in the markets which provide the same functionalities. You can download for a free trial from nuget via this link if interested:
Apr 30, 2019 03:27 AM|Fei Han - MSFT|LINK
Hi Jayakumar Vinayagam,
[iText 7](https://www.nuget.org/packages/itext7/7.1.6) allows us to build custom PDF scenarios, you can try it. And the following code snippet works for me, you can refer to it.
FileInfo dest = new FileInfo(path);
var writer = new PdfWriter(dest);
var pdf = new PdfDocument(writer);
var document = new Document(pdf);
document.Add(new Paragraph("hello world"));
Besides, as other suggested, you can also search and get more nuget packages through your favorite search engine.