Re: [iText-questions] IText Barcode Image Format

2010-08-04 Thread Duncan_McCloud

Thank you very much. That worked. The only differences i see is the size of
the image generated (which can be adjust by the ScalePercent method, and the
barcode value which now is printed under the barcode. Is there any chance to
hide the barcode value using CMYK images ?

Thank you very much
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/IText-Barcode-Image-Format-tp2311940p2313185.html
Sent from the iText - General mailing list archive at Nabble.com.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] Existing Image overlap text

2010-03-25 Thread Duncan_McCloud

Hello everyone,
I am actually trying to add text on every page of an existing pdf file.
I have no problem in doing except with a particular pdf file.
Some of the pages of this pdf file seems to be a full A4 Size image.
The result is that on those pages the Text is not added, or maybe it is
added but it's overlapped by the existing image. 
This is the code i use to add the Text on the page:

PdfReader pdfReader = new PdfReader(file);
PdfStamper pdfStamper = new PdfStamper(pdfReader, FileStream);

for (int cont = 1; cont = pdfReader.NumberOfPages; cont++)
{
PdfImportedPage tempPage = pdfStamper.GetImportedPage(pdfReader, cont);
PdfContentByte cb = pdfStamper.GetOverContent(cont);

BaseFont bf = BaseFont.CreateFont(BaseFont.HELVETICA,
BaseFont.CP1252,BaseFont.NOT_EMBEDDED);
cb.BeginText();
cb.SetFontAndSize(bf, 16);
cb.SetTextMatrix(0, 1, -1, 0, 17, 280);
cb.ShowText(TEST_STRING);
cb.EndText();
cb.AddTemplate(tempPage, 0, 0);
}

pdfStamper.Close();
pdfReader.Close();

As already said it works at 100% except on those particular pages.
Is there any way to force the added Text to be printed over any other
elements\object?

Thank you in advance
Best Regards

-- 
View this message in context: 
http://old.nabble.com/Existing-Image-overlap-text-tp28028200p28028200.html
Sent from the iText - General mailing list archive at Nabble.com.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/