Discover how the TxtSaveOptionsBase ExportHeadersFootersMode property optimizes header and footer export in text formats. Default, PrimaryOnly.... Document doc = new Document (); // Insert even and primary...primary headers/footers into the document. // The primary header/footers...