  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | -none- | -none- 2007-10-02 - By Marcel Gil Vega
Back Hi,
I want to fix the dimension of output pdf417 image by codeRows and codeColumns. In order to do that i wrote this code for example:
BarcodePDF417 b = new BarcodePDF417(); b.CodeRows = 23; b.CodeColumns = 38; b.Options = BarcodePDF417.PDF417_FORCE_BINARY + BarcodePDF417.PDF417_FIXED _RECTANGLE ;
and after call b.CreateDrawingImage(...) method the values of CodeRows and CodeColumns are different. I suppose it happen due to the AspectRatio value then how can i set the CodeRows and CodeColumns values of output pdf417 bitmap .
Can i say my output image will be a matrix of r by c where r < = 30 and c <= 90?
Thanks you very much in advantage.
Mosquets
-- ---- ---- ---- ---- ---- ----- Got a little couch potato? Check out fun summer activities for kids. Hi,<br><br>I want to fix the dimension of output pdf417 image by codeRows and codeColumns. In order to do that i wrote this code for example:<br><br >BarcodePDF417 b = new BarcodePDF417();<br>b.CodeRows = 23;<br>b.CodeColumns = 38;<br>b.Options = BarcodePDF417.PDF417_FORCE_BINARY + BarcodePDF417.PDF417 _FIXED_RECTANGLE ; <br><br>and after call b.CreateDrawingImage(...) method the values of CodeRows and CodeColumns are different. <br>I suppose it happen due to the AspectRatio value then how can i set the CodeRows and CodeColumns values of output pdf417 bitmap . <br><br>Can i say my output image will be a matrix of r by c where r < = 30 and c <= 90?<br><br>Thanks you very much in advantage.<br><br>Mosquets<br><p>  <hr size=1>Got a little couch potato? <br> Check out fun <a href="http://us.rd.yahoo.com/evt=48248/*http://search.yahoo .com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz">summer activities for kids.</a> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
|
|
 |