Using two documents, one Word document and the second an RTF document when importing the HeaderFooter node of the Word document to the RTF document and then saving the RTF document as a .PDF the header of the document is shrunken.
Code for “moving” the header from the source document to the destination document:
HeaderFooter SCMDocHeaderAndFooter = (HeaderFooter)enumerator2.Current;
Node SCMDocHeaderFooterNode = document.ImportNode(SCMDocHeaderAndFooter, true, ImportFormatMode.KeepSourceFormatting);
section.HeadersFooters.Add(SCMDocHeaderFooterNode);
Source document with header also attached.
Thanks,