Guide for VB.NET
Core Document Formats
Set PowerPoint Rendering Option
Additional Features

VB.NET PowerPoint - Customize Rendering Options

Use VB.NET Demo Code to Customize PowerPoint Rendering & Converting Options

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

When using our VB.NET PowerPoint Converter Control to render and convert PPT document to other image and document formats in VB.NET programming, developers are able to set the rendering options according to certain needs. During the process of PowerPoint conversion in VB.NET, developers concern the following questions for the most.
Related .net document control helps: view excel in browser: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser. 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... sharepoint document viewer control: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint view powerpoint: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET view text file in browser: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET office viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications annotate pdf control: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
  • How to set rendering options in VB.NET program of converting PowerPoint document?
  • What kinds of PPT (.pptx) rendering options can be set during the process of PowerPoint conversion in VB.NET application?
  • How many document and image formats are supported for PowerPoint converting and rendering setting in VB.NET?
How to Set Rendering Options
In order to use our VB.NET PowerPoint Converter Control to set PPT rendering options through VB.NET programming, you may need to make some preparations in the first place. You need to install .NET Framework 2.0 or later versions and Visual Studio 2005 or above.
Then, you can use the following APIs to set rendering options in the process of converting PowerPoint document to other formats in VB.NET. Specific API is designed for setting corresponding rendering option. If you want to specify the resolution option in PPT rendering process, you just need to call int Resolution method. See more as below.
' Specify the resolution to render.
int Resolution

' Specify the pixel format to render.
PixelFormat PixelFormat

' Specify the scaling factor to render.
float ScalingFactor

' Specify the width and height of the image to render.
Private Function ToImage(width As Integer, height As Integer) As BaseImage Implements PPTXPage.ToImage
End Function
Finally, you can refer to the following simple VB.NET demo code to compile more detailed code for setting PPT rendering options that are supported by our VB.NET PowerPoint Converting Component.
' Set PowerPoint rendering options.
Public Sub RenderPowerPointPage(page As PPTXPage)
' Render page using default resolution
Dim defaultImage As REImage = DirectCast(page.ToImage(), REImage)

' Render with a specific size
Dim reSizedImage As REImage = DirectCast(page.ToImage(2000, 2000), REImage)

' The more pixels the resized image has, the clearer the image will be.
End Sub
Note: RasterEdge product only supports setting rendering options in the process of converting PowerPoint document with .pptx file extension in VB.NET.
PPT Rendering Options Types
Below is a list of PowerPoint rendering options supported by our VB.NET PowerPoint Converting Library.
  • Image resolution parameter
  • Image pixel format
  • Image scalling factor
  • Image width and height
In the following paragraphs, we will give you a brief introduction of setting the above supported PPT rendering options in VB.NET application.
First of all, if you are intending to make you image object clearer, you may need to reset the image resolution property to a higher value during the process of converting PowerPoint document in VB.NET application by using our PPT Conversion Control for VB.NET. Generally, the size of pixel has determined the value of image resolution. If the size of pixel is larger, the value of resolution will be higher.
Then, image pixel format is one important factor that determines the effect of output image. Using our VB.NET PowerPoint Rendering SDK, you are able to set RGB pixel format when rendering and converting PPT document in VB.NET class. You can set the RGB pixel format to commonly used four categories: 8-bit-per-pixel, 16-bit-per-pixel, 24-bit-per-pixel and 32-bit-per-pixel. And there are three color lights beams contained in the RGB color model and they are red, green and blue. The three beams are combined together in different ways.
Next, for VB.NET developers who want to enlarge or the size of image proportionally in the process of converting PowerPoint document using VB.NET project, you can use our PPT Converting SDK for VB.NET to set the image scaling factor. Thus, you can customize your image size while the width and height of the original image will not be changed.
Finally, image width and height option provided by this VB.NET PowerPoint Rendering SDK is designed to help developers resize the output image when converting PowerPoint document slide to other image and document formats in VB.NET. You can resize the image with a fixed aspect ratio.
Supportive Doc & Image Formats
This PowerPoint Document Rendering Library for VB.NET enables developers to render and convert PPT slide to various formats, including PDF, BMP, TIFF, SVG, PNG, JPEG, GIF and JBIG2. In the process of converting PPT slide to any of all supportive image and document formats, developers can set multiple rendering options by using VB.NET code.

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