ViewPort of the diagram is updated/changed while performing zoom and pan interactions in Diagram. The ViewPortChanged event will get invoked when View port changes happed in diagram.
This event arguments contains information about changes in the diagram and cause of changes.
Refer to the following code example.
Here, diagram is the instance of SfDiagram.
This page will automatically be redirected to the sign-in page in 10 seconds.