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



when I use a bitmaptool I don't want a border around the image, how can I solve it?

1 Reply

AR Aravind Ravi Syncfusion Team January 16, 2019 06:47 AM UTC

Hi Blanca, 
We have created a sample to hide border for bitmap image node by using the diagram.EventSink.SelectionListChanged event .In the selectionlistChanged event set linewidth as zero for bitmap image node.Please find below code snippet for how to set linewidth as zero. 
private void EventSink_SelectionListChanged(CollectionExEventArgs evtArgs) 
            if(evtArgs.Element is BitmapNode) 
                (evtArgs.Element as BitmapNode).LineStyle.LineWidth = 0; 
The sample is created to draw bitmap image node. Please find sample in below link 
Aravind Ravi 

Live Chat Icon For mobile
Up arrow icon