start with (c#) p.SetLeading(0f, 1.2f); where p is your paragraph

thats what Word would use as standard, 0f fixed leading, 1.2f multiplied
leading.  If you have one larger word on a line, that line will increase
accordingly, which I believe is what you are asking for.



Ryan M-3 wrote:
> 
> In Microsoft Word if you type a multi-line paragraph and then increase the
> font 
> size of one word in the paragraph, Word will increase the leading of the
> single 
> line that that word is on.  The leading of the other lines will not
> change.
> 
> Despite my best efforts, I can't figure out how to do this with iText.  I
> can 
> change the leading of the paragraph, but then all the lines change.  Or I
> can 
> change the leading of a phrase and put the phrase inside the paragraph,
> but 
> then nothing happens.
> 
> Is there any way to do this?
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Leading-of-single-in-paragraph-tf3281126.html#a9130777
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to