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

transform from

some visio file can not be converted to essential format,what can i do ? and the symbol designer always can not be able to add visio''s pallate,why and what can i do ? thank you

1 Reply

GM Gowri Manohari D Syncfusion Team August 21, 2009 09:55 AM UTC

Hi Bravejavis,

Thank you for choosing Syncfusion products.

1. Please provide the sample visio file which you have used.

2. We can add the visio palette's in symbol designer by VisioStencilConverter class and Convert() method from Syncfusion.Diagram.Utility.Windows namespace. Please refer the below code snippet for further reference.

Match match = Regex.Match( strFileName, ".vss|.vsx|.vsd|.vdx",options );
if ( match.Success )
{
VisioStencilConverter converter = new VisioStencilConverter(strFileName, this); // this-----Current parent Form
converter.ShowProgressDialog = true;
curSymbolPalette = converter.Convert();
if (curSymbolPalette != null)
symbolPaletteGroupBar.AddPalette(curSymbolPalette);
}

Here "strFileName" refers to the Visio File which we want to add.

Let me know if you have any questions in this regard.

Regards,
Gowri


Loader.
Live Chat Icon For mobile
Up arrow icon