bruno wrote:
Benjamin Podszun wrote:
Hi there.
For my current work I have to add hidden text at a specific location.
I already got help to archive the positioning, but now I'm unsure how
to set the rendering options to add text that is invisible? The
intention is that the document should be searchable, but the "real"
contents is an image (a tiff file). Any hints on that?
http://itextdocs.lowagie.com/tutorial/directcontent/text/
look for TEXT_RENDER_MODE_INVISIBLE.
Thanks.. I missed that one..
As for the dimension of a page.
Which PageSize did you choose to begin with?
A PageSize object is just a Rectangle, you can ask
a Rectangle for its dimensions.
*sigh* I didn't specify anything, so I guess it defaults to A4. Didn't
find the right path without thinking about this approach at all.. Works
as well, thanks again.
Regards,
Ben
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions