Don't use Graphic. It's only there for compatibility with some very old code
and should have been deprecated long ago. Use PdfContentByte to write your
graphics. If you need more resolution use fractions. At least two decimal
places will be output to the document giving you a resolution of 7200 dpi.
If you are using charts have you consider JFreeChart? They even have a
tutorial on how to generate charts with iText.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Vadell Cifre, Enrique [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 8:37
> To:   '[EMAIL PROTECTED]'
> Subject:      [iText-questions] Increase document resolution
> 
> Hi, i'm trying to use iText to draw a chart, using graphics primitives.
> 
> When using graphics primitives as:
> 
> Graphic grx = new Graphic();
> grx.rectangle(100, 700, 100, 100);
> 
> the coordinates are expresed as points and documentation says there are 72
> points per inch (this is at 72 dpi). But i need more resolution (300
> points
> per inch would be perfect). Is there any way to do this?.
> 
> Thanks.
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to