im trying to merge to pdf files but both files have there own heade n footer and i want to remove these header n footer with unique header and footer ,if there is any way to do this using aspose please tell me ,
You can either use PdfContentEditor.ReplaceText Method to change the headers or footers. You can also place the new header or footer over the existing one in the form of image or text. For more information please consult http://www.aspose.com/wiki/default.aspx/Aspose.Pdf.Kit/AdhereText.html and http://www.aspose.com/wiki/default.aspx/Aspose.Pdf.Kit/AdhereImage.html .
but if pdf is converted from a doc file and header n footer are not pdf header/footer ,than what we can do to remove these header /footer,
If you are using Aspose.Pdf for the word to pdf conversion then you can remove the headers and footers using Aspose.Pdf. You can do this after you call the BindXML function and before the Save function is called. Another posibility is to remove the headers and footer from the orignal word document using Aspose.Words and then convert to pdf.