The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
J.J.Nagarajan Syncfusion Team September 5, 2008 08:46 AM UTC
Hi Sattar ,
Please use the below code snippet to draw a Polygon in the diagram.
PointF[] pt ={ new Point(50, 50), new Point(100, 100), new Point(150, 50), new Point(100, 0) }; Syncfusion.Windows.Forms.Diagram.Polygon m_polygon = new Syncfusion.Windows.Forms.Diagram.Polygon(pt); m_polygon.PinPoint = new PointF(220, 190); this.diagram1.Model.AppendChild(m_polygon);