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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

beginner needs help with SymbolModel and creating symbol instances on the diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

24522 Feb 5,2005 07:38 AM UTC Feb 7,2005 09:51 PM UTC WinForms 1
loading
Tags: Diagram
Maxwell Lee
Asked On February 5, 2005 07:38 AM UTC

Hi, I''m a beginner to SyncFusion - Diagram. During runtime, I''m trying to add SymbolModels to my SymbolPalette. I think I''ve done that successfully with the following code snippet: Syncfusion.Windows.Forms.Diagram.SymbolModel catSymModel = this.paletteGroupView1.Palette.AddSymbol("Cat"); When I run this code so far, I see a new icon for this "Cat" Symbol Model appear in my palette. So now when I drag it onto the diagram, I get an "Overflow error" and sometimes it crashes. That is to be expected. But the goal is I want just a simple rectangle to appear on the diagram. I have no idea how to proceed next. Please help. Thanks for your time.

Truman Lackey
Replied On February 7, 2005 09:51 PM UTC

The basic aproach that I think of is to use the symbol designer that comes with the syncfusion install. Then you can load the pallete that you design into the palette control. It is also possible to load symbols into the palette control at runtime in code. The first method is described here http://www.syncfusion.com/Support/article.aspx?id=10490 This describes how to create a custom symbol and use it in a diagram. http://www.syncfusion.com/Support/article.aspx?id=10493

CONFIRMATION

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.

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

;