Accept
Section.Accept method
Accepts a visitor.
public override bool Accept(DocumentVisitor visitor)
Parameter | Type | Description |
---|---|---|
visitor | DocumentVisitor | The visitor that will visit the nodes. |
Return Value
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 DocumentVisitor
- class Section
- namespace Aspose.Words
- assembly Aspose.Words