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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Image in symbol palette

Thread ID:





127678 Dec 1,2016 09:37 PM UTC Dec 2,2016 11:15 AM UTC ASP.NET MVC 1
Tags: Diagram
indrani Gajjarapu
Asked On December 1, 2016 09:37 PM UTC

I want to place images as nodes in the diagram builder. 
How can I place images in symbol palette!!

Shyam G [Syncfusion]
Replied On December 2, 2016 11:15 AM UTC

Hi Indrani, 

We have created a sample in which we have created an image node and appended in the symbol palette. Please refer to the code example below. 

Code example: 

      ImageNode ImageNode = new ImageNode(); 
            ImageNode.OffsetX = 100; 
            ImageNode.OffsetY = 100; 
            ImageNode.Height = 100; 
            ImageNode.Width = 100; 
            //Sets url of the image 
            ImageNode.Source = "../Content/diagram/images/Transaction.png"; 
            //append nodes into an palette 

Shyam G 


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

or the page will be automatically redirected to 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