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.
Hi, I'd like to add a small image, like EndPointDecorator (for example, DiamondDecorator), but at the middle of the link line( i'm using my own link tool class based on DirectedLineLinkTool). What is the simplest way to add such image ?
I have attached the sample for your reference. In this sample you can add symbols by clicking on the "Add Symbols" button. When you click on the Link button a link should be created and you can see the image at the middle of this link.
You can download this sample from the following page.
Please refer to it and let me know if you have any questions.
ADAdministrator Syncfusion Team March 14, 2007 07:01 AM UTC
Thanks for your sample, though it has one disadvatage: when link is moved during symbol moving the bitmap remained in old place.
J.J.Nagarajan Syncfusion Team March 15, 2007 11:24 PM UTC
Hi Ok,
Thanks for you for being patience.
The bitmap gets placed in the middle of the link when link is moved. But we have a minar problem in bitmap alignment. We will resolve this issue and I will get back to you with more details at the earliest.
Thanks, Nagaraj
J.J.Nagarajan Syncfusion Team March 20, 2007 06:11 PM UTC
Hi Ok,
Sorry for the delay in getting back to you.
You can handle NodeMoved and Bounds changed events to position the bitmap at the center of the link.