Creating PDF using JEditorPane
- From: bruno <bruno (at) lowagie.com>
- Date: Wed, 14 Jun 2006 11:24:06 +0200
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