Page Header/Footer

Page Header/Footer

Forum member · Mar 9, 2007
Hello, Is it possible to add Header/Footer in an existing PDF document using Dynamic PDF Merger. If yes then do you have any code sample for that Thanks

Re: Page Header/Footer

Support · Mar 9, 2007
Hello, Yes, you can add any page elements to an existing PDF document without any prblem. In order to add a Header/Footer you can use the Template page element. Following is the sample code. MergeDocument document = new MergeDocument(@"C:\Temp\DocumentA.pdf"); Template template = new Template(); template.Elements.Add(new Label("New Header",0,0,100,100,Font.TimesItalic,25)); document.Template = template; document.DrawToWeb(); Thanks, ceTe Software Support Team.