Discover the IsHeader property of HeaderFooter—easily identify if your HeaderFooter object is a header for streamlined document formatting....how to create a header and a footer. Document doc = new Document..., Is . True ); // Create a footer and append a paragraph to it...