This project has moved and is read-only. For the latest updates, please go here.

Create .SVG file from inputted text

Dec 12, 2014 at 4:32 PM
Hi,

I'm having trouble with what seems to be a basic use-case, and after some research figured I'd try my luck here in the discussion board.

I'm trying to create a dynamic SVG file based on text a user inputs within a Windows Forms application. I'd like to set the text, font, size, color and produce a final .SVG file.

Could someone help point me in the right direction or share similar code?

Thanks for your help!
Coordinator
Dec 13, 2014 at 5:31 AM
Hello,
You can only create a format if you understand it. So the right place to start is to read a book on SVG or the specifications of the SVG.
SVG is simply XML and .NET framework provides you all the classes to write out any XML format, but you must understand what you are trying to write.

If you want free lunch, it will not last but here are some to start with

http://www.codeproject.com/Articles/8207/SVGPad-Application-and-class-library-for-editing-S

http://www.codeproject.com/Articles/3751/An-SVG-framework-in-C-and-an-SVG-GDI-bridge

Best regards,
Paul.
Marked as answer by SelormeyPaul on 10/17/2016 at 11:22 AM