> 1. Possibilities to convert the text content to image in itextsharp.
If by "image" you mean "org.itextpdf.text.Image", then yes. You draw
your text into a PdfTemplate, and wrap an Image around it.
If by "image" you mean "a bunch of colored pixels" on the other hand,
then no. GhostScript is quite good however. I and several others use
it in conjunction with iText for that very purpose.
> 2. How to set transparency property for an Itextsharp Image.
There are several different ways to do transparency in PDF. Do you mean
an alpha channel? I believe our PNG converter supports importing alpha
information, and you can build an image Mask or Soft Mask yourself as
well. You can set the opacity of the stroke or fill color using
PdfGState.setStrokeOpacity() and PdfGState.setFillOpacity(), though I
don't believe these impact drawing raster images. There's also
something called a Transparency Group (PdfTransparencyGroup) that allows
you to control how different objects blend with one another.
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
________________________________
From: kannan thangamani [mailto:[email protected]]
Sent: Sunday, March 27, 2011 7:25 AM
To: [email protected]
Subject: [iText-questions] IText Sharp
Hi,
We have been analysing to use the ITextShart for manipulating
the pdf which is generated from Indesign tool. After the pdf is
generated we would like to add some text and images in the specified
locatioon.
We have the below questions.
1. Possibilities to convert the text content to image in
itextsharp.
2. How to set transparency property for an Itextsharp Image.
Thanks and Regards,
Kannan.
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and publish
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php