Silly me. This is already supported with Image.setIndentationRight() and Image.setIndentationLeft().
Best Regards, Paulo Soares > -----Original Message----- > From: Paulo Soares [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 17:49 > To: 'AJP' > Cc: '[EMAIL PROTECTED]' > Subject: RE: [iText-questions] Image Right Alignment - 2 attachments > > I'll put a hard-coded spacing of 4 points around the image in the next > release. I don't think that another parameter is needed as there are other > ways to do this things if precision is a must. > > Best Regards, > Paulo Soares > > > -----Original Message----- > > From: AJP [SMTP:[EMAIL PROTECTED] > > Sent: Wednesday, November 19, 2003 17:19 > > To: Paulo Soares > > Subject: Re: [iText-questions] Image Right Alignment - 2 attachments > > > > Yes, you're right. Thanks for that. > > > > I still have the problem that the spacing between the image and the > > wrapping > > text is non-existent. Any way around this? > > > > Cheers, > > > > Alan. > > > > ----- Original Message ----- > > From: "Paulo Soares" <[EMAIL PROTECTED]> > > To: "'Alan Pocklington'" <[EMAIL PROTECTED]>; > > <[EMAIL PROTECTED]> > > Sent: Wednesday, November 19, 2003 4:19 PM > > Subject: RE: [iText-questions] Image Right Alignment - 2 attachments > > > > > > > I think the right align problem is fixed in the last version. > > > > > > Best Regards, > > > Paulo Soares > > > > > > > -----Original Message----- > > > > From: Alan Pocklington [SMTP:[EMAIL PROTECTED] > > > > Sent: Wednesday, November 19, 2003 12:12 > > > > To: [EMAIL PROTECTED] > > > > Subject: [iText-questions] Image Right Alignment - 2 attachments > > > > > > > > Hi, I have a stange problem regarding image alignment. Left and > > center > > > > aligned images work fine for me, but I'm having trouble with right > > aligned > > > > > > > > images. > > > > > > > > When I try to add a right aligned image with Image.TEXTWRAP the > image > > is > > > > left aligned but a gap in the text appears on the right of the page > > where > > > > the image should have been placed. I have tried running Chap0605's > > > > example, with the same effect. Yet the Chap0605.pdf in the tutorial > > shows > > > > > > > > that this works? Any ideas what could be causing this? > > > > > > > > Also, with any alignment the text is flush against the side of the > > image > > > > instead of leaving some space between them. Is there any way of > > setting > > > > this spacing? > > > > > > > > I have attached some images to illustrate my problem. > > > > > > > > Thanks for any help, > > > > > > > > Alan. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > Does SourceForge.net help you be more productive? Does it > > > > help you create better code? SHARE THE LOVE, and help us help > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > _______________________________________________ > > > > iText-questions mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/itext-questions << > File: > > > > leftspacingproblem.gif >> << File: rightalignproblem.gif >> > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
