我正在尝试从一些输入数据生成一个pdf。所以我创建了我的PdfGenerator(),它创建了一个包含一些文本的pdf: //Instantiate License class and call its SetLicense method to use the license license.SetLicense("Aspose.Total.lic
我在PDF生成方法中使用了以下代码:License.SetLicense(Path.Combine(Request.PhysicalApplicationPath, "bin", "Aspose.Pdf.lic"))Dim license As license = New license我验证了许可文件是否存在于上面的路径中,但我仍然得到了以下错误:
'C:\User
在将文本写入PDF的过程中,我使用TextFragment设置各个字段的属性。与其单独设置每个字段,不如如何使用循环?TextFragment a = new TextFragment("Hi!"); tf.getTextState().setFont(new FontRepository().findFont("Arial")); .