Aspose::Words::Drawing::Shape::Accept method

Shape::Accept method

Accepts a visitor.

_Bool Aspose::Words::Drawing::Shape::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 VisitShapeStart(), then calls Accept() for all child nodes of the shape and calls VisitShapeEnd() at the end.

See Also