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

Load Symbol from palette dynamically

Helo,

Can anybody tell me how we can load a symbol from a pallete (.edp file) programatically?

I found one incomplete sample from syncfusion site. http://www.functionx.com/bcb/gdi/circleshapes.htm

The method "public SymbolPalette LoadPalette(string filename)" inside the link is not coded !!

Thanks,
Babu



2 Replies

VK Vinoth Kumar K Syncfusion Team May 23, 2008 02:23 AM UTC

Hi Babu,

Thank you for your interest in Syncfusion products.

You can load the symbol from a pallete (.edp file) programatically by using the GetSymbolModel() method. Please refer to the browser sample from the following location which demonstrates the issue.

C:\Documents and Settings\{userName}\My Documents\Syncfusion\EssentialStudio\6.3.0.6\Windows\Diagram.Windows\Samples\2.0\Designing Symbols\PaletteLoad\cs

Please try this and let me know if you have any other questions.

Thanks,
Vinoth




AD Administrator Syncfusion Team May 23, 2008 03:56 PM UTC

Thanks buddy.

>Hi Babu,

Thank you for your interest in Syncfusion products.

You can load the symbol from a pallete (.edp file) programatically by using the GetSymbolModel() method. Please refer to the browser sample from the following location which demonstrates the issue.

C:\Documents and Settings\{userName}\My Documents\Syncfusion\EssentialStudio\6.3.0.6\Windows\Diagram.Windows\Samples\2.0\Designing Symbols\PaletteLoad\cs

Please try this and let me know if you have any other questions.

Thanks,
Vinoth





Loader.
Live Chat Icon For mobile
Up arrow icon