Aspose::Words::HeaderFooter::Accept method

HeaderFooter::Accept method

Accepts a visitor.

_Bool Aspose::Words::HeaderFooter::Accept(System::SharedPtr<Aspose::Words::DocumentVisitor> visitor) override
ParameterTypeDescription
visitorSystem::SharedPtr<Aspose::Words::DocumentVisitor>The visitor that will visit the nodes.

ReturnValue

True if all nodes were visited; false if DocumentVisitor stopped the operation before visiting all nodes.

Remarks

Enumerates over this node and all of its children. Each node calls a corresponding method on DocumentVisitor.

For more info see the Visitor design pattern. Calls VisitHeaderFooterStart(), then calls Accept() for all child nodes of the section and calls VisitHeaderFooterEnd() at the end.

See Also