Previous | Next | (P-PDF) Engineering
Topic: Create PDF file
Conf: (P-PDF) Engineering, Msg: 153110
From: blowagie
Date: 8/7/2006 05:50 PM
On 8/7/2006 4:13:12 PM, meetsenthilbtech wrote:
>i need to draw table n show
>text in tables.how to draw
>table with format..i cant find
>pdf commands in net.
You can't find PDF commands to draw tables because there are none. If you want to draw a table, you have to draw lines with moveTo (m), lineTo (l) and/or rectangle (r) and make sure your text fits inside the rectangles. Don't forget to stroke the lines (s command).
Of course, you could also use iTextSharp. That would probably be wiser than to try and reinvent the wheel.