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.
Unfortunately, activation email could not send to your email. Please try again.

Missing SVGWriter

Thread ID:

Created:

Updated:

Platform:

Replies:

46382 Jul 12,2006 06:57 AM Jul 13,2006 04:08 AM Windows Forms 2
loading
Tags: Diagram
Johann Schraml
Asked On July 12, 2006 06:57 AM

Hi, after upgrading to 4.2 the SVGWriter cannot be resolved in Syncfusion.Diagram.Base? greetz, Uli

Administrator [Syncfusion]
Replied On July 13, 2006 02:31 AM

Hi Uli, Yes, we have changed the SVGWriter class in the latest version with ToSvg class (Diagram.Base\src\SVG\ToSvg.cs ) in order to enhance the import\export functionalities of SVG files .If you run into any problem with this change could you please let us know about its details? Thank you for your continued support to Syncfusion. Regards, Praveena.

Johann Schraml
Replied On July 13, 2006 04:08 AM

Hi Praveena, thank you for your quick response. Sorry, but I think without the source files from 4.1 and 4.2 no customer is able to use the new interface from ToSvg.cs. Maybe you just forgot to add the old method from SVGWriter.cs ( public void Save(Syncfusion.Windows.Forms.Diagram.Model dgmmodel, Syncfusion.Windows.Forms.Diagram.View dgmview, string filename)). //with tosvg ToSvg svg = new ToSvg(); SizeF szModel = _diagram.Model.Bounds.Size; RectangleF rect = new RectangleF(new PointF(0, 0), szModel); Graphics gfx = svg.GetRealGraphics(new Size((int)szModel.Width, (int)szModel.Height)); _diagram.Model.Draw(gfx, rect); svg.Save(fileName); regards, Uli

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.

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.

;