ApiExamples.ExSection.SectionsDeleteHeaderFooter C# (CSharp) Метод

SectionsDeleteHeaderFooter() приватный Метод

private SectionsDeleteHeaderFooter ( ) : void
Результат void
        public void SectionsDeleteHeaderFooter()
        {
            //ExStart
            //ExFor:Section.ClearHeadersFooters
            //ExId:SectionsDeleteHeaderFooter
            //ExSummary:Clears content of all headers and footers in a section.
            Document doc = new Document(MyDir + "Document.doc");
            Section section = doc.Sections[0];
            section.ClearHeadersFooters();
            //ExEnd
        }