Sebastian Sebastian - 25 days ago 10
Vb.net Question

iTextSharp units

Anyone knows what unit system does iTextSharp uses? My first assumption would be pixels but I'm not sure about it.

Thanks!

EDIT: Sorry to not being more specific, and thanks for letting me know. I'm talking about units for measures in the PageSize and Margins.

Answer

If I remember correctly it uses "points", the same unit of measurement as a font (as PDF is centered around correct font rendering).

One "point" is 1/72 of an inch (or about 0.353mm).