Aspose::Words::Saving::TxtSaveOptionsBase::get_ExportHeadersFootersMode method. Specifies the way headers and footers are exported to the text formats. Default value is PrimaryOnly in C++.... auto doc = MakeObject < Document > ();...override the even headers/footers. doc -> get_FirstSection () -> get_HeadersFooters...