PowerPointOutputType
Represents different types of Powerpoint slide types to be converted to Pdf
public abstract class PowerPointOutputType
Public MustInherit Class PowerPointOutputType
Inheritance: ObjectPowerPointOutputType
Derived: HandoutOutputType, NotePagesOutputType, OutlineViewOutputType, SlideOutputType
Licensing Info
This class is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Converter selected.
- A DynamicPDF Converter for .NET v3.X Developer license.
Examples
This example shows how to convert the presentation with a frame around each slide.Imports ceTe.DynamicPDF.Conversion
Imports ceTe.DynamicPDF.Conversion.PowerPoint
Module Module1
Sub Main()
' Set PowerPoint conversion options
Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(650.0, 750.0, 75.0)
HandoutOutputType handoutOutputType = new HandoutOutputType()
handoutOutputType.FrameSlides = True
options.OutputType = handoutOutputType
' Create new instance of Converter by providing suitable parameters.
Dim powerPointConverter As PowerPointConverter = New PowerPointConverter("C:\MyDocument.ppt, options)
' Call Convert method to start conversion
powerPointConverter.Convert("C:\MyOutput.pdf")
End Sub
End Module
using System;
using ceTe.DynamicPDF.Conversion;
using ceTe.DynamicPDF.Conversion.PowerPoint;
class MyClass
{
static void Main()
{
// Set PowerPoint conversion options
PowerPointConversionOptions options = new PowerPointConversionOptions(650.0,750.0,75.0);
HandoutOutputType handoutOutputType = new HandoutOutputType();
handoutOutputType.FrameSlides = true;
options.OutputType = handoutOutputType;
// Create new instance of Converter by providing suitable parameters.
PowerPointConverter powerPointConverter = new PowerPointConverter("C:\MyDoucment.ppt, options);
//Call Convert method to start conversion
powerPointConverter.Convert(@"C:\MyOutput.pdf");
}
}
Properties
Handout | Creates and returns new SlideOutputType of Handout type |
NotePage | Creates and returns new SlideOutputType of NotePage type |
OutlineView | Creates and returns new SlideOutputType of OutlineView type |
PrintHiddenSlide | Specify if hidden slides are to be printed |
Slide | Creates and returns new SlideOutputType of Slide type |
Methods
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |