Hi.
I have a merged crystal report and pdf document.
I would like to add a text header to a pdf document. I would like the header to be displayed on top of the pdf on the upper most part of it. How can I do this ?
Thanks in advance.
Add text header to merged pdf
Re: Add text header to merged pdf
Support · Apr 30, 2008Hello ,
Yes, you can add header to the page of an existing PDF document at any particular locationwithout any problem. You can change the location of the header by changing the X and Y coordinates.
Following is the sample block of code for adding header:
//Add Header to the first page
MergeDocument document = new MergeDocument(@"DocumentA.pdf");
document.Pages[0].Elements.Add(new ceTe.DynamicPDF.PageElements.Label("Header",200,0,200,40,Font.Helvetica,20,T
extAlign.Center,RgbColor.Blue));
document.DrawToWeb("Test.pdf");
Thanks,
ceTe Software Support Team