cete.dynamicpdf.conversion.powerpointoutputtype
PowerPointOutputType
- Namespace: ceTe.DynamicPDF.Conversion
- Assemblies: DynamicPDF.Converter.NETFramework40.dll, DynamicPDF.Converter.NETStandard20.dll
Represents different types of Powerpoint slide types to be converted to Pdf
public abstract class PowerPointOutputType : ISerializable
Public MustInherit Class PowerPointOutputType
Implements ISerializable
Inheritance: Object → PowerPointOutputType
Implements: ISerializable
Derived: HandoutOutputType, NotePagesOutputType, OutlineViewOutputType, SlideOutputType
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.FrameSlide = True
options.OutputType = handoutOutputType
' Call Convert method to do conversion synchronously
PowerPointConverter.Convert("C:\MyDocument.ppt", "C:\MyOutput.pdf",options)
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(600.0,700.0,75.0);
HandoutOutputType handoutOutputType = new HandoutOutputType();
handoutOutputType.FrameSlide = true;
options.OutputType = handoutOutputType;
// Call Convert method to start conversion synchronously
PowerPointConverter.Convert(@"C:\MyDocument.ppt", @"C:\MyOutput.pdf",options);
}
}
Remarks
This class is Serialized
Properties
Handout
Creates and returns new SlideOutputType of Handout type
public static HandoutOutputType Handout { get; }
Public Shared Property Handout As HandoutOutputType
Property Value
NotePage
Creates and returns new SlideOutputType of NotePage type
public static NotePagesOutputType NotePage { get; }
Public Shared Property NotePage As NotePagesOutputType
Property Value
OutlineView
Creates and returns new SlideOutputType of OutlineView type
public static OutlineViewOutputType OutlineView { get; }
Public Shared Property OutlineView As OutlineViewOutputType
Property Value
PrintHiddenSlide
Specify if hidden slides are to be printed
public bool PrintHiddenSlide { get; set; }
Public Property PrintHiddenSlide As Boolean
Property Value
Slide
Creates and returns new SlideOutputType of Slide type
public static SlideOutputType Slide { get; }
Public Shared Property Slide As SlideOutputType
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetObjectData(SerializationInfo, StreamingContext)
Used for serialization of the object.
public void GetObjectData(SerializationInfo info, StreamingContext context)
Sub GetObjectData(info As SerializationInfo, context As StreamingContext)
Parameters
-
info: SerializationInfo
-
context: StreamingContext
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .