Free Support Forum - aspose.com

Problem formatin header pdf

Hi All, thanks a lot for your help in other posts.
I have this problem, I need to archive a header PDF like the attachment but I could not achive yet. see the image because is the best way I found to explain the problem.

I try to use Text object with different segments and align properly but with no lucky so far.

Could you guide me if I could get this with aspose?

See attached file.

Hi Diego,


Thanks for using our products.

In order to accomplish your requirement, you may consider adding both text object to Header area of PDF file. In case you need to add these text segments while creating a PDF file, you may consider creating a table object and place the table object in Header section of Page file. Please visit the following link for further information on Table in Header Footer section and Set Page Header and Footer

In case you need to add these text segments in existing PDF file, you may consider adding Headers in existing PDF file using AddHeader(…) method of PdfFileStamp class. When using this approach, you can specify the left, top and right margin to align the text objects.

In the event of any further query, please feel free to contact.