Guide for VB.NET
Core Document Formats
PowerPoint to SVG
Additional Features

VB.NET PowerPoint - PPT-to-SVG Converting Guide

VB.NET Demo Code to Render & Convert PowerPoint PPTX to SVG Image

VB.NET
Home > .NET Imaging SDK > VB.NET > PowerPoint: Render to SVG
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

PowerPoint document is a great file format for information representation. But sometimes, we may need to share the content of source PowerPoint file on website. Under this condition, we may need to convert PowerPoint slide to a vector image format svg as image file can have a faster loading speed for web application. itextsharp replace text in pdf c#, split pdf using c#, azure search pdf, convert excel file to pdf using c#, pdf to tiff conversion using c#, c# remove text from pdf. This VB.NET PowerPoint to svg converting solution, which combines VB.NET PowerPoint manipulating add-on and VB.NET image programming SDK, is designed to convert .pptx slide into high-quality svg image format using VB.NET code. Now please have a look at the article layout.
Related .net document control helps:
asp.net mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net document viewer: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net edit pdf image: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
  • Easy to use VB.NET APIs are offered to convert PowerPoint slide to svg image format
  • Demo VB.NET code is listed to render PPTX to vector image file in .NET class application
  • Key features of this VB.NET PowerPoint to svg converter control add-on
convert pdf to jpg vb.net, vb.net pdf merge and compress, convert pdf to text vb.net, vb.net convert pdf to text file, convert pdf to text file c#, open password protected pdf using c#, vb net pdf add pages dynamically.
APIs for PPTX to SVG Conversion
Before giving you detailed VB.NET APIs to convert PowerPoint document file to svg image format, we will illustrate the whole VB.NET PPT (.pptx) to svg converting process first. asp.net tiff viewer, mvc view pdf, asp.net pdf preview, display image in gridview asp.net vb, pdf editor in asp net mvc, asp.net pdf viewer disable save, asp.net open excel file in browser.
  1. This VB.NET PowerPoint to svg converter component will first decode source PowerPoint document file from web path or file path into a VB.NET programming object, PPTXDocument;
  2. Using GetPage method, VB.NET developers can easily select the PowerPoint slide that they want to convert;
  3. Using toImage method, VB.NET developers can convert selected PPTX slide into RasterEdge defined image object, namely, REImage. In this step of VB.NET PPTX to svg conversion, developers can use some VB.NET APIs to customize the converting options;
  4. After developers convert desired PowerPoint slide to image source, they can convert created image object to svg image format using SaveImageFile. And converted svg image file can be saved in the form of svg file format or memory stream.
' Render PPTXDocument to get a REImage collection, or choose specific slide to render.
Private Function GetPage(pageIndex As Integer) As BasePage Implements PPTXDocument.GetPage
End Function
Private Function toImage() As BaseImage Implements PPTXPage.toImage
End Function
Private Function toImage(height As Integer, width As Integer) As BaseImage Implements PPTXPage.toImage
End Function

' Render REImage in other image format using image convert APIs.
Private Sub SaveImageFile(image As REImage, filePath As [String]) Implements REFile.SaveImageFile
End Sub
API Explanations:
  • PPTXDocument: this programming class is counted as an abstraction of PowerPoint .pptx document file, which is derived from super class REDocument. One PPTXDocument object represents one .pptx document file.
  • PPTXPage: RasterEdge VB.NET PowerPoint to svg conversion component uses one PPTXPage instance to represent one PowerPoint slide.
VB.NET Sample Code
Using following VB.NET PowerPoint to svg converting demo code, you can easily and quickly convert each slide of source .pptx document file into a list of separate svg image files without having any dependency on other related PowerPoint reading controls. If you want to convert PowerPoint to svg image using C# code, please read this C#.NET PPTX to svg image conversion tutorial page.
''' <summary>
''' Render PPTXDocument to images of SVG Format
''' </summary>
''' <param name="PowerPointFilePath"></param>
''' <returns></returns>
Public Function RenderPPTXDocumentToSVG(PowerPointFilePath As [String]) As List(Of Stream)
' a list of stream which contains the image data of the SVG image.
Dim buffer As New List(Of Stream)()

Dim doc As New PPTXDocument(PowerPointFilePath)
For i As Integer = 0 To doc.GetPageCount() - 1
Dim page As PPTXPage = DirectCast(doc.GetPage(i), PPTXPage)

Dim temp As REImage = DirectCast(page.ToImage(), REImage)
Dim imageStream As New MemoryStream()
If temp IsNot Nothing Then
temp.Convert(imageStream, ImageFormat.svg)
buffer.Add(imageStream)

End If
Next

Return buffer
End Function
Converting Features
In order to help you have a better and comprehensive understanding of this VB.NET PowerPoint to svg image converting library component, we here list its key features.

Easy to Install

This VB.NET PowerPoint to svg conversion library add-on is compatible with .NET Framework 2.0, 3.0, 3.5, 4.0 & 4.5 & Microsoft Visual Studio 2005 & later versions. As all PowerPoint to svg image converting APIs are encoded into several compact RasterEdge dlls, you can integrate VB.NET PPTX to svg converting capability into VB.NET project by adding project reference.

Able to Convert PowerPoint into Other Image Formats

As this VB.NET PowerPoint converting SDK contains several image compression mechanisms, developers can not only convert PPTX to svg but also render PowerPoint slide to other image files, like png, gif, tiff, bmp and jpeg.

Convert PPT to SVG Image in Web & Windows Applications

Developed in .NET, this VB.NET PowerPoint to svg converter add-on allows developers to perform high-quality PPT (.pptx) to svg conversion in both ASP.NET web and Windows Forms applications.

Compatible with Microsoft PowerPoint 2007 & Later Versions

PowerPoint files that end with .pptx file suffix can be easily converted and rendered into svg image format while the original PPTX content will be greatly preserved.


Recommend this to Google+


RasterEdge.com 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-2024 Raster Edge.com