Hi Johnathan,
Thanks for the update.
We suggest you to use the Diagram.Model’s ‘DocumentSize’ property to get the current document size of the diagram.
Here is the code:
[C#]
PageSize ModelSz = diagram1.Model.DocumentSize;
Syncfusion.Windows.Forms.Diagram.Rectangle rect = new Syncfusion.Windows.Forms.Diagram.Rectangle(ModelSz.Width/2,ModelSz.Height/2,50,50);
rect.PinPoint = new PointF(ModelSz.Width / 2, ModelSz.Height / 2);
this.diagram1.Model.AppendChild(rect);
For your convenience we have created a simple sample to achieve your requirement.
Please try the below sample and let us know if you have any queries.
Forum Adding node in center949917353.zipRegards,
Amsath Ali. M