Exported PDF format

Hi,

I have using Aspose.Pdf component for exporting into pdf file.

I have successfully exporting into pdf file, when I have set some formats like

Dim summaryTable1 As Aspose.Pdf.Table = New Aspose.Pdf.Table()
summaryTable1.Margin.Top = 0
summaryTable1.Margin.Left = 0

then also I have getting space in the top and left side of the exported pdf file.

Please check the attached pdf file and suggest us how to rectify these issue.


Thanks
Veeru.

Hello Veeru,

Thanks for using our products.

In absolute positioning, when you set the Margin.Top and Margin.Left to 0, the paragraph is placed at the left-top of the page and the margin over page is by default. In case you need to place the contents over extreme left position, then you need to specify the negative value for Margin.Top and Margin.Left something like

tab1.Margin.Left = -70;
tab1.Margin.Top = -50;

You may also try using the Relative psoitioning to place the contents over the page. Please comment out the Table.Margin code lines and use the following code line

tab1.PositioningType = PositioningType.PageRelative;

Please take a look over the attached PDF document that I have generated with both the methods. In case I have not properly understood your requirement or you have any further query, please feel free to contact.

We apologize for your inconvenience.