PowerPointConverter

Defines methods and properties for the PowerPointConverter.

public class PowerPointConverter
Public Class PowerPointConverter

Inheritance: ObjectPowerPointConverter

Licensing Info

This class is a DynamicPDF Converter feature. One of the following is required for non-evaluation usage:

Examples

Example to show how to use PowerPointConverter class.
Imports ceTe.DynamicPDF.Conversion

Module Module1

    Sub Main()
  
        ' Set PowerPoint conversion options
        Dim options As PowerPointConversionOptions = New PowerPointConversionOptions(650.0, 750.0, 75.0)

        Dim powerPoint As PowerPointConverter =new PowerPointConverter ("C:\MyDocument.ppt",options)
         
        ' Call Convert method to do conversion synchronously
        powerPoint.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);

        PowerPointConverter powerPoint=new PowerPointConverter("C:\MyDocument.ppt",options);
        powerPoint.Convert("C:\MyOutput.pdf");
    }  
}

Constructors

PowerPointConverter(Byte[], String)Creates an instance of the PowerPointConverter class.
PowerPointConverter(Byte[], String, PowerPointConversionOptions)Creates an instance of the PowerPointConverter class.
PowerPointConverter(String)Creates an instance of the PowerPointConverter class.
PowerPointConverter(String, PowerPointConversionOptions)Creates an instance of the PowerPointConverter class.

Properties

ConversionOptionsGets the instance of the PowerPointConversionOptions class

Methods

Convert()Converts powerpoint to Pdf
Convert(Byte[])Converts powerpoint to Pdf
Convert(String)Converts powerpoint to Pdf
ConvertAsync()Does the Asynchronous conversion
ConvertAsync(Byte[])Does the Asynchronous conversion
ConvertAsync(String)Does the Asynchronous conversion
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)

Events

PowerPointConverter.CompletedOccurs when a document is successfully converted.
PowerPointConverter.ProgressChangedOccurs when the status of a document conversion changes.

See Also

ceTe.DynamicPDF.Conversion

In this topic