Hi all



I want to create a .rtf document but I can’t find anything about how absolute position is created? It seems very easy in .pdf file just :



PdfContentByte cb = writer.getDirectContent();



// an example of a rectangle with a diagonal in very thick lines

cb.setLineWidth(10f);

// draw a rectangle

cb.rectangle(100, 700, 100, 100);

// add the diagonal

cb.moveTo(100, 700);

cb.lineTo(200, 800);

// stroke the lines

cb.stroke();



How is this done when creating .rtf documents?



E.E

_________________________________________________________________
Få gode tilbud direkte i din mailbox http://jatak.msn.dk



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to