I am patiently working through the examples in the book and code snippets in
list answers and want to know about barcode text for a theoretical  problem
I am solving

 

If I use

 

cb.setRGBColorFill(128, 185, 23);

table.addCell(code39.createImageWithBarcode(cb, null, null ));

table.writeSelectedRows(1, 2, 475, 40, cb);

 

I get a coloured barcode and coloured text

If I use

 

cb.setRGBColorFill(128, 185, 23);

table.addCell(code39.createImageWithBarcode(cb, null, Color.black ));

table.writeSelectedRows(1, 2, 475, 40, cb);

 

I get a coloured barcode and black text

If I use

 

cb.setRGBColorFill(128, 185, 23);

table.addCell(code39.createImageWithBarcode(cb, Color.black, null ));

table.writeSelectedRows(1, 2, 475, 40, cb);

 

I get a black barcode and black text

 

What I would like is a black barcode and coloured text

But being a picky kind of guy, I would like to use

 

Color(100,67,120);

 

Only that has no effect here.

 

Anybody want to point me to the right pages, or tell me it can't be done??

 

 

john renfrew 

Right Way Up 
Office  +44 1675 475341 
Fax      +44 1675 475342 
Mobile +44 7767 443992

 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Reply via email to