Hi Daniel,
We have provided the ZoomFactor option to change the zoom level of the Diagram View. This is the only option to customize the Zoom level. So, please set the ZoomFactor when you load the Diagram.
Please let us know if you require further assistance on this.
Regards,
Sudhakar C
I believe the zoom factor affects how much the diagram will zoom in or out when the user manually performs a zoom.
I want to automatically zoom out when the diagram is loaded.
It should be as if the diagram loaded, and then the user held down control, and rolled their mouse wheel 2 clicks to zoom out.
Hi Daniel,
We have created a simple sample based on your requirement. In that sample, we have created some Nodes in the Table Layout and also we can Save & Load the diagram using the Buttons Named “Save & Load”. And we have executed the ZoomOut operation, when we load the diagram. Now, when we load the Diagram, it will be automatically zoomout. For more information please refer the attached sample and video.
Please let us know if you require further assistance on this.
Regards,
Sudhakar C
Hi Daniel,
Sorry for the inconvenience caused.
We have understood your requirement, we can zoom out the diagram automatically when load the diagram by executing the Zoom Out command in Diagram View’s loaded event. This loaded event will be fire, always when we load the Diagram. And also, we have modified the sample. In that sample, we have registered the Diagram View’s loaded event and executed the Zoom Out command in that event. Now, when we run the sample, the diagram will be automatically zoomed out. For more information please refer the sample.Please let us know if you require further assistance on this.
Regards,
Sudhakar C