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/


Re: [iText-questions] IText Barcode Image Format

2010-08-04 Thread Paulo Soares
Set the font to null.

Paulo 

-Original Message-
From: Duncan_McCloud [mailto:duncanmcclou...@gmail.com] 
Sent: Wednesday, August 04, 2010 10:48 AM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] IText Barcode Image Format


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


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


--
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/

Re: [iText-questions] IText Barcode Image Format

2010-08-03 Thread Paulo Soares
You'll need something like this:

BarcodeInter25 barcodeDT = new BarcodeInter25();
CMYKColor barColor = new CMYKColor(...);
CMYKColor textColor = new CMYKColor(...);
iTextSharp.text.Image img1 = barcodeDT.CreateImageWithBarcode(cb, barColor, 
textColor);

Paulo

-Original Message-
From: Duncan_McCloud [mailto:duncanmcclou...@gmail.com] 
Sent: Tuesday, August 03, 2010 3:21 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] IText Barcode Image Format


Hi,
i am actually try to print a barcode on a pdf which is CMYK and not RGB.
This is a sample of the code i am using:

BarcodeInter25 barcodeDT = new BarcodeInter25();  
iTextSharp.text.Image img1 =
iTextSharp.text.Image.GetInstance(barcodeDT.CreateDrawingImage(System.Drawing.Color.Black,
System.Drawing.Color.Transparent), System.Drawing.Imaging.ImageFormat.Bmp);

Is there some way to manipulate the object img1 and convert it to a CMYK
image instead of an RGB one?
Thank you in advance.
Diego

-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/IText-Barcode-Image-Format-tp2311940p2311940.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/


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


--
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/