On Sunday 08 April 2007 01:22, John Map wrote:
> Hi, I'd like to add an RtfShape, a line to my document.  So far  I've only
> been able to add at an absolution position that I specify in  the
> constructor.  Is there a way to add a line in-line to the  output? Thank
Construct the RtfShapePosition extra and use the setXRelativePosition and 
setYRelativePosition to the desired anchoring points (constants provided by 
the RtfShapePosition class).

The updated RTF tutorial 
http://itextdocs.lowagie.com/tutorial/rtf/features/shape/index.html# gives an 
example.

Greetings,
Mark
-- 
Q:      Why did the tachyon cross the road?
A:      Because it was on the other side.

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc

Attachment: pgp0pZf4l21hC.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to