:
:> How can i draw the line? I don't think PdfContentByte.lineTo(float
:> x, float y) will work and i can't change
:> line's width and color with this and i need to do it...
:>
: You can do everything with PdfcontentByte.
:
:> I also want to add an image to my header with onStartPage event, and
:> i can do it, but i want to add some
:> text (a chunk because i want to change it's style and color)
:> afer it but i can't.
:>
: Yes you can with ColumnText or PdfPTable.
How do i add a PdfTable to PdfContentByte?
:
:
:> Another thing is you said i couldn't format header's line's width...
:> I'm trying to draw a white line over
:> it, but i don't know how to draw lines.
:>
: The basic header/footer can format the line width and color as I
:said.
: What layout do you exactly want for the header?
I want an image alligned to the left with some title appended to it on the top
and another title in a line
after the image, but aligned to right.
Both titles should have their own format.
The line that end's the header should be a bit smaller so i'm trying to draw a
white line over it on
OnEndPageEvent but nothing happens...
cb.setLineWidth(0.5F);
cb.setRGBColorStrokeF(0xDF, 0xFF, 0xFF);
cb.moveTo(10, img.plainHeight() + 25); // document's borders are 10, 10,
img.plainHeight() + 25, 10
cb.lineTo(document.getPageSize().width() / 2, document.getPageSize().height()
- img.plainHeight() -
25);
The color isn't white in the code only for debugging...
Thanks for your time Paulo!!
:
: Best Regards,
: Paulo Soares
:
:> Thanks for all!!
:>
:>
:>
:> -------------------------------------------------------
:> This sf.net email is sponsored by:ThinkGeek
:> Welcome to geek heaven.
:> http://thinkgeek.com/sf
:> _______________________________________________
:> iText-questions mailing list
:> [EMAIL PROTECTED]
:> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions