Headers and footers belong to document sections. To merge documents with different headers or footers, insert document content into a new section. Remember to copy all required header and footer information to the target section.
This example shows how to merge documents with different headers and footers. The SectionsMerger
class is used to copy the headers and footers of each document section.
- Form1.cs (VB: Form1.vb)
- DocumentsMerger.cs (VB: DocumentsMerger.vb)
- SectionsMerger.cs (VB: SectionsMerger.vb)
(you will be redirected to DevExpress.com to submit your response)