> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Damjan Majstorovic
> Sent: Wednesday, August 11, 2004 3:01 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] linespacing, height, copying ct & 
> num of lines....
> 
> Hi All
> 
> I've been using iText and it is great.
> 
> Still I have problems figuring out these 4 things:
> 
> (I've bundeled them together, but if you know
> answer to only some, please then answer them only, or
> if you think some are stupid, answer the ones you think
> are not)
> 
> 1. what are ways of increasing linespacing in a phrase or
>    chunk or .....? Or do I have to use another construct?
>

setLeading()
 
> 2. what are the ways to get the height of outputed txt/graphic:
>       - tbl.writeSelectedRows(...) which returns currentY position
>       - img.getHeight()
>       ... any other ? (for paragraph or phrase, or rectangle,
>       or while using cb.showText("sadsf......sfd")
> 

The question is too generic.

> 3. how do I copy ct, is it ct.setACopy(ColumnText org)? Or
>    do I need some new version (like itext-paulo-133). Currently
>    I use iText1.01
> 

or duplicate()

> 4. how do I measure the number of lines remaining? I know
>    how to get number of lines written with getLinesWritten(),
>    but how do I know total number of lines per column (as I
>    have dynamic content with changing fonts...). I have a feeling
>    that to do this, you have to use ct.go(simulate) and .... 
> some calcs
> 

You have to simulate it.

Best Regards,
Paulo Soares

> I thank you all in advance,
> 
> Damjan
> 
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to