[EMAIL PROTECTED] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to