views:

76

answers:

2

as you can see my data table is a little too much on the right, how do i move it more to the left? please include answer in vb.net alt text

+1  A: 

You probably just need to adjust the margins. i'm guessing you're looking at the default.

Here's a simple iTextSharp example that shows how to manipulate margins.

Paul Sasik
+2  A: 

If you're using a PdfPTable you can explicitly set the position of the table using the table's WriteSelectedRows() method.

Here's a C# example
Documentation on WriteSelectedRows (such as it exists) can be found at the sourceforge tutorial.

The links I provided are in C#. I've seen very little iTextSharp code in VB.NET but ran this class through the DeveloperFusion C# to VB.NET converter and results looked good to me. If you haven't already, you might want to bookmark the DeveloperFusion converter site.

Jay Riggs