Aspose::Words::Section::Accept method
Section::Accept method
Accepts a visitor.
_Bool Aspose::Words::Section::Accept(System::SharedPtr<Aspose::Words::DocumentVisitor> visitor) override
| Parameter | Type | Description |
|---|---|---|
| visitor | System::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 VisitSectionStart(), then calls Accept() for all child nodes of the section and calls VisitSectionEnd() at the end.
See Also
- Class Section
- Namespace Aspose::Words
- Library Aspose.Words for C++