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.
Syncfusion Feedback

Missing SVGWriter

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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

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

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 08:08 AM UTC

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.

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

;