PageSetup.borderSurroundsFooter property. Specifies whether the page border includes or excludes the footer....let doc = new aw . Document (); let builder = new aw . DocumentBuilder...builder . moveToHeaderFooter ( aw . HeaderFooterType . HeaderPrimary...