如何将iText添加到我的netBeans项目中? [英] How to add iText into my netBeans project?

查看:121
本文介绍了如何将iText添加到我的netBeans项目中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Netbeans 8.0.2,我正在尝试将输出作为PDF文件提供.通过Google的快速搜索,我了解到 iText 可以帮助我做到这一点.但是如何将iText包导入到我的项目中?
我应该如何导入已下载的软件包(最新).

Im using Netbeans 8.0.2 and I am trying to give my output as a PDF file. On a quick google search, I learnt iText can help me do it. But how can i import iText package into my project?
How should i import the package that i have downloaded (latest).

推荐答案

如果您的项目使用Maven,则只需将iText添加到pom.xml.

If your project uses Maven then you simply add iText to your pom.xml.

<dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.5.8</version> </dependency>

<dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.5.8</version> </dependency>

请参见 http://developers.itextpdf.com/itext-java

这篇关于如何将iText添加到我的netBeans项目中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆