PowerPointConversionOptions
Defines properties and methods that are needed for a Powerpoint Conversion
public class PowerPointConversionOptions : ConversionOptions
Public Class PowerPointConversionOptions
Inherits ConversionOptions
Inheritance: ObjectConversionOptionsPowerPointConversionOptions
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
Example shows how to use powerPointConversionOptions 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;
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
PowerPointConversionOptions([Optional] Boolean) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(Double, Double, Double) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(Double, Double, Double, Double) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(Double, Double, Double, Double, [Optional] Boolean) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(PageSize, PageOrientation, Double) | Initializes a new instance of the PowerPointConversionOptions class. |
PowerPointConversionOptions(PageSize, PageOrientation, Double, Double, [Optional] Boolean) | Initializes a new instance of the PowerPointConversionOptions class. |
Properties
AppendToPdf | Gets or sets the boolean value to specify if append to pdf conversionOptions to be enabled. (Inherited from ConversionOptions) |
Author | Gets or sets the author meta data for the converted PDF. (Inherited from ConversionOptions) |
BottomMargin | Gets or sets the bottom margin of the page. (Inherited from ConversionOptions) |
CancelToken | Gets or sets a CancellationToken for conversion task. (Inherited from ConversionOptions) |
Creator | Gets or sets the creator meta data for the converted PDF. (Inherited from ConversionOptions) |
Height | Gets or sets the height of the page in points. (Inherited from ConversionOptions) |
Keywords | Gets or sets the keywords meta data for the converted PDF. (Inherited from ConversionOptions) |
LeftMargin | Gets or sets the left margin of the page in points. (Inherited from ConversionOptions) |
OutputType | Represents the PowerPoint output type such as Handout, Notepage, Slide and Outline. |
PaperKind | Gets or sets paper kind for the pages properties. (Inherited from ConversionOptions) |
PdfA | Gets or sets the boolean value to specify if converted pdf will adhare to PDF/A (ISO 19005-1) standard. |
PowerPointSlideRange | Represents the Range of slides for PDF. |
Producer | Gets or sets the producer meta data for the converted PDF. (Inherited from ConversionOptions) |
RightMargin | Gets or sets the right margin of the page in points. (Inherited from ConversionOptions) |
Subject | Gets or sets the subject meta data for the converted PDF. (Inherited from ConversionOptions) |
Title | Gets or sets the title meta data for the converted PDF. (Inherited from ConversionOptions) |
TopMargin | Gets or sets the top margin of the page in points. (Inherited from ConversionOptions) |
Width | Gets or sets the width of the page in points. (Inherited from ConversionOptions) |
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) |