Aspose.Words.Examples.CSharp.Programming_Documents.Working_With_Document.ExtractContentUsingDocumentVisitor.MyDocToTxtWriter.VisitHeaderFooterStart C# (CSharp) Method

VisitHeaderFooterStart() public method

Called when a HeaderFooter node is encountered in the document.
public VisitHeaderFooterStart ( HeaderFooter headerFooter ) : VisitorAction
headerFooter HeaderFooter
return VisitorAction
            public override VisitorAction VisitHeaderFooterStart(HeaderFooter headerFooter)
            {
                // Returning this value from a visitor method causes visiting of this
                // Node to stop and move on to visiting the next sibling node.
                // The net effect in this example is that the text of headers and footers
                // Is not included in the resulting output.
                return VisitorAction.SkipThisNode;
            }