How do i use itext7.pdfhtml in AGPL mode?
问题 I'm trying to use itext7.pdfhtml to convert a html string to a pdf document in a C# .Net project. When I run this code: iText.Html2pdf.HtmlConverter.ConvertToPdf(htmlString, pdfStream) I get the following exception: iText.License.LicenseKeyException: License file for product not loaded . I don't want to load a trial license or a commercial license. I want to run itext7 in AGPL mode. How do I do that? I'm using: itext7 v7.0.3 itext7.licensekey v2.0.4 itext7.pdfhtml v1.0.0.2 回答1: You can't.