Hello.

I have two questions about iText.

The pdf file exactly has to be like the word file that was sent to me. In the word file; the character is Times New Roman and its 10 puntos.

But in the pdf file when i try to do Times.Roman and 10 puntos; it seems little according to the word format.

Are there any paralellism between the size of word and pdf?

Like size 10 in word is equal to size 14 in pdf.

I also have another question...

The paragraph i wrote seems like this in pdf document.

aaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaa

but i want it to be as the same like

aaaaaaaaaaaaaa
aaaaaaaaaaaaaa
aaaaaaaaaaaaaa

I want all the lines end up vertically equal. How can I achieve this?

Thanks from now...

Recommended Answers

All 2 Replies

Take a look at this tutorial - http://itextdocs.lowagie.com/tutorial/objects/index.php

Good link, but this useful only if you are creating document from scratch. In above scenario getting documents settings from document together with context is essential. So Apache POI would be more relevant

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.