Aspose::Words::Section::ClearHeadersFooters method

Section::ClearHeadersFooters() method

Clears the headers and footers of this section.

void Aspose::Words::Section::ClearHeadersFooters()

Remarks

The text of all headers and footers is cleared, but HeaderFooter objects themselves are not removed.

This makes headers and footers of this section linked to headers and footers of the previous section.

See Also

Section::ClearHeadersFooters(bool) method

Clears the headers and footers of this section.

void Aspose::Words::Section::ClearHeadersFooters(bool preserveWatermarks)
ParameterTypeDescription
preserveWatermarksboolTrue if the watermarks shall not be removed.

Remarks

The text of all headers and footers is cleared, but HeaderFooter objects themselves are not removed.

This makes headers and footers of this section linked to headers and footers of the previous section.

See Also