Guide for C#
Core Document Formats
Word to SVG
Additional Features

C# Word - Convert Word to SVG in C#.NET

How to Convert Word Document to SVG Images in C#.NET Application

Visual C#
Home > .NET Imaging SDK > C# > Convert Word to SVG
If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!

C# Word to SVG Image Converting Overview
Like Word to raster images conversion, converting Word document to vector SVG images is also an easy work with the help of RasterEdge .NET Word Converter library. Using this Word converter, C#.NET users are able to convert Word document pages to vector SVG images without losing quality of graphics. Fully developed conversion APIs are provided. Apart from Visual C#.NET projects, this .NET Word Converting Add-on can be seamlessly integrated into VB.NET web and Windows applications as well.
Related .net document control helps: pdf editor component: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects view text file in browser: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm... mvc display tiff: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control document viewer example: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS... view excel in browser: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
The article layout below shows the main contents of C#.NET Word to SVG conversion tutorial.
  • Features and benefits summary for C#.NET Word to SVG conversion control
  • How to convert Word pages to SVG images using sample C# code
C# Word to SVG Features Summary
  • Seamlessly implement in .NET Framework 2.0, Visual Studio 2005 and all above versions
  • Easy to be integrated into Microsoft Word document management systems
  • Batch conversion support allows C#.NET users to convert multi-page Word document to SVG images instantly
  • Able to define specific Word document page and convert it to vector SVG image in C#.NET class
  • Support converting Word to SVG and directly used in C#.NET web (HTML5) applications
  • Simple to store converted SVG image files to desired repository
Use C# Code to Convert Word to SVG
Following C#.NET class code is provided to help users easily convert Word document to SVG images. Note, in order to convert Word to SVG, you should firstly add three DLLs of DocImage SDK for .NET into your C#.NET project, namely RasterEdge.Imaging.Basic.dll, RasterEdge.Imaging.MSWordDocx.dll, and RasterEdge.Imaging.SVG.dll.
// load Word into DOCXDocument
DOCXDocument test = new DOCXDocument(@"c:\sample.docx");
int page = test.GetPageCount();

for (int i = 0; i < page; i++)
DOCXPage apage = (DOCXPage)test.GetPage(i);

//******************** SVG Sample *************************
//********* Simple edition *************
// create SVG context to draw page onto
SVGContext context = new SVGContext();

// set page index of this context

// draw page on context

// save SVG files under this folder, including the image resources used by this SVG file
context.SaveToFile(@"c:\Test\SVG\" + "sample" + i + ".svg");

// image is under the same folder as SVG File
More Vector Images Knowledge
As we know, vector images describe objects according to their geometrical characteristics including points, lines, curves, and polygons to represent images in computer graphics. You can relocate, resize, or adjust the color of a vector graphics but still remaining quality of the graphics. Vector graphics differ from raster graphics, in that a raster graphics is the representation of the image as a collection of pixels (dots).

Recommend this to Google+ is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster