## HeaderFooter(Doc, headerFooterType) {#Documentbase_headerfootertype} Creates a new header or footer of the specified type. ```js HeaderFooter(Doc: Aspose.Words.DocumentBase, headerFooterType: As......## HeaderFooter(doc, headerFooterType) {#documentbase_headerfootertype}...specified type. ```js HeaderFooter(doc: Aspose.Words.DocumentBase, headerFooterType:...