Discover the HeaderFooterType property to easily access and manage your Document's header and footer types for enhanced formatting control.... Document doc = new Document (); // Create...HeaderFooter ( doc , HeaderFooterType . HeaderPrimary ); doc . FirstSection...