Hi ,
Whatever you said is right ,As per my understanding we can change leading,
multiplied leading of font using paragraph.setleading(2f,1f) .
My problem is I am having flash interface in which they have set leading as 2pt
and least word spacing . So I want to decrease wordspacing and character
spacing.
I have tried
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(pdfpath +
strPdfname, FileMode.Create));
writer.SetEncryption(PdfWriter.STRENGTH128BITS, null, null, PdfWriter.AllowCopy
| PdfWriter.ALLOW_MODIFY_CONTENTS );
writer.SpaceCharRatio=PdfWriter.NO_SPACE_CHAR_RATIO
PdfContentByte cb = writer.DirectContent;
cb.SetWordSpacing(0.001f);
but this is also not working.
So let me know how i can do it.
thanks & regards ,
PURETECH INTERNET
-----------------------------------------------------------------------------------------
Vaibhav Shelar
Sr.Software Engineer
E [email protected]
T 91. 22. 2283 3158 | 91. 22. 2284 3026
-----------------------------------------------------------------------------------------
www.puretech.com | www.seopuretech.com
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/