¡@

Home 

c# Programming Glossary: headerreference

Add Header and Footer to an existing empty word document with OpenXML SDK 2.0

http://stackoverflow.com/questions/11672991/add-header-and-footer-to-an-existing-empty-word-document-with-openxml-sdk-2-0

Delete any existing references to headers. foreach HeaderReference headerReference in sectProperties.Descendants HeaderReference.. headerReference in sectProperties.Descendants HeaderReference sectProperties.RemoveChild headerReference Create a new header.. new header part and add it to the section properties. HeaderReference newHeaderReference new HeaderReference Id rId Type HeaderFooterValues.First..