Effortlessly clear section headers and footers with the ClearHeadersFooters method. Streamline your Document layout for a polished look!... Document doc = new Document (); Assert . That...HeaderPrimary ]. GetText (). Trim (), Is . EqualTo ( "This is...