By Date: <-- -->
By Thread: <-- -->

Creating PDF using JEditorPane



Dorothy_Ng (at) Alexhosp.com.sg wrote:

>
> Hi,
>
> may I know if it's possible to create PDF using jEditorPane?

JEditorPane has a method paint(Graphics g);
com.lowagie.text.pdf.PdfGraphics2D implements the Graphics interface.
Just create a PdfGraphics2D instance and
let the editor pane paint itself to this instance.
br,
Bruno


_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions