Julio Luiz Vedovatto Neto wrote:
Ok guys , i have this operation:
float num = (float)(19,05/10)/2.54)*72); // result is 54 / 19,05 mm
Okie ... this number i generated is 54 points (pixels ?.?) ?
But when i set this to margin of doc and print, de 19,05 mm "points"
turn into 23,5 mm O_o
What's the problem ?
Probably your printer.
http://itextdocs.lowagie.com/tutorial/objects/bookmarks/index.html#viewerprefs
See PrintScaling: Sets the print scaling to 'None'.
If you don't want to change your code, you can test this by changing
this value in the print dialog of Adobe Reader.
br,
Bruno
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions