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.
MFMeera Fathima Syncfusion Team June 20, 2007 11:17 AM UTC
Hello Suj,
I am sorry about this delay in responding. And regarding your query, I am afraid that it is difficult to implement the custom link tool that has the public LinkTool(string name) initialize method. However if your intension is to specify the tool name within the initialize method, you can do this by creating the custom version of Link tool and use public MyLinkTool( DiagramController controller,string name ): base( controller ) initialize method in that custom link tool class.
Below is the sample code snippet for your reference.
// Create customized link tool class. public class MyLinkTool : LinkTool { public MyLinkTool( DiagramController controller,string name ) : base( controller ) {} }
// Register the custom link tool in the main form.
MyLinkTool myLnkTool = new MyLinkTool(this.diagram1.Controller,"MyLinkTool"); myLnkTool.Name = "MyLinkTool"; this.diagram1.Controller.RegisterTool(myLnkTool);
// And activate the custom linktool where ever you want( for e.g. from the menu item click event).
Please let me know whether the above informations are helpful to you. And feel free to contact us if you have any more questions regarding this. We will be glad to assist you.