Add table to pdf

Discussions about PDF management.
Post Reply
rohrerb
Posts: 6
Joined: Wed Sep 26, 2012 3:06 pm

Add table to pdf

Post by rohrerb » Mon Feb 03, 2014 6:52 pm

Hello,

How can i add a table to a new pdf?

If this is possible, can the table columns autosize based on the content of the columns?

Thank you,
Brandon Rohrer

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Add table to pdf

Post by SamiKharma » Mon May 05, 2014 1:05 pm

Hi,

You have all you need in GdPicture to accomplish table drawing.
You can basically use GdPicturePDF.DrawLine()
In the documentation of the function there is an example on how to use it.
You would have to calculate the table size that you want and make a function that uses the DrawLine() method repeatedly to draw the table.

Best,
Sami

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest