![]() ![]() Public class StampService : IStampService Stream ApplyStamp(StampRequestForm stampRequest) Then I can just use ASP.NET core model binding to bind a file upload request nicely to the model, without having to do much work. via model binding using the IFormFile interface.įor simplicity, I store each line of text in a separate field. multipart/form-data request to a model Install the library dotnet add package Model public class StampRequestForm NET Core įor another example of using library, check out my post which shows how to fill out a PDF form using the library. is an unofficial port of the last LGPL version of the iTextSharp (V4.1.6) to. ![]() NET core is which is free and what I use in the sample ASP.NET core project. However, the library is dual licensed as AGPL/Commercial, which mean you need to open source your project, or purchase the commercial license. The current version as of this writing is iText7. IText is a popular technology for working with PDF files. I’ve extracted the logic into a sample project, which you can find on my github. I found the sample codes from this SO post, which works greatly. Recently I had to implement the logic to “stamp” a PDF file in my ASP.NET core project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |