## HeaderFooter(doc, headerFooterType) {#documentbase_headerfootertype} Creates a new header or footer of the specified type. ```js HeaderFooter(doc: Aspose.Words.DocumentBase, headerFooterType: As...... To append [HeaderFooter](../) to a [Section](...