Discover the IsEndOfHeaderFooter property for paragraphs. Easily determine if a paragraph is the last in a HeaderFooter, enhancing document structure....how to create a header and a footer. Document doc = new Document..., Is . True ); // Create a footer and append a paragraph to it...