We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

NullRef exception

I was working with the symbols class and was using your code --> +++++++++++++++++++++++++++ this.nameLbl = this.AddLabel("", BoxPosition.Center); this.nameLbl.OffsetY = -20; this.nameLbl.FontStyle.Name = "Verdana"; this.nameLbl.FontStyle.Style = System.Drawing.FontStyle.Bold; this.nameLbl.BackgroundStyle.Color = System.Drawing.Color.Transparent; this.nameLbl.ReadOnly = true; +++++++++++++++++++++++++++++++++++++++++++++ Everytime it gets to this point it gives me a Unhandled exception of type "System.NullReferenceException" occured in syncfusion.diagram.base.dll Object reference not set to an instance of an object. Can someone help me with this issue?

Loader.
Live Chat Icon For mobile
Up arrow icon