In Diagram control, we can create the image node using bitmap tool but we don’t have a built-in option for selecting the particular region and create the image node based on selected region. However we can achieve the desired requirement by customizing the Syncfusion.Windows.Forms.Diagram.BitmapTool and by creating the Bitmapnode from the selected region instead of browsing the image location with the help of OpenDialogBox
The following code example shows creating the custom bitmaptool and setting the name for customized bitmaptool while initializing.
To override the CreateNode() method in customized bitmaptool to create the bitmapnode from the selected region
The following code example to create the bitmapnode from the selected region:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.