Aspose::Words::Paragraph::Accept method

Paragraph::Accept method

Accepts a visitor.

_Bool Aspose::Words::Paragraph::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 VisitParagraphStart(), then calls Accept() for all child nodes of the paragraph and calls VisitParagraphEnd() at the end.

See Also