Re: [iText-questions] Problems with Rectangle in PdfContentByte

2005-04-15 Thread bruno
[EMAIL PROTECTED] wrote: Hello, I've just tried to position a Rectangle within a PdfDirectContent at an absolute position using the following code: I understand your confusion. You have changed the BorderWidth, but the Rectangle object doesn't know which borders you mean. Do you want a box: rect

[iText-questions] Problems with Rectangle in PdfContentByte

2005-04-15 Thread c . hauser
Hello, I've just tried to position a Rectangle within a PdfDirectContent at an absolute position using the following code: try { PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("pdf/RectangleTest.pdf")); document.open(); PdfContentByte cb = writer.getDirect