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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





142021 Jan 15,2019 10:48 AM UTC Jan 16,2019 06:47 AM UTC WinForms 1
Tags: Diagram
Blanca Calderon
Asked On January 15, 2019 10:48 AM UTC


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

Aravind Ravi [Syncfusion]
Replied On 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 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon