Skip to main content

HandoutOutputType

Version: 2.0

cete.dynamicpdf.conversion.handoutoutputtype

HandoutOutputType​

  • Namespace: ceTe.DynamicPDF.Conversion
  • Assemblies: DynamicPDF.Converter.NETFramework40.dll, DynamicPDF.Converter.NETStandard20.dll

Represents a Handout output type in PowerPoint conversion.

public class HandoutOutputType : PowerPointOutputType, ISerializable
Public Class HandoutOutputType
Inherits PowerPointOutputType
Implements ISerializable

Inheritance: Object → PowerPointOutputType → HandoutOutputType

Implements: ISerializable

Examples​

This example shows how to set OutputType option in PowerPoint Conversion options.

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)
options.OutputType = New HandoutOutputType(SlidesPerPage.Two)

' 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);
options.OutputType = New HandoutOutputType(SlidesPerPage.Two);

// Call Convert method to start conversion synchronously
PowerPointConverter.Convert(@"C:\MyDocument.ppt", @"C:\MyOutput.pdf",options);
}
}

Constructors​

HandoutOutputType()​

0 Initializes a new instance of the HandoutOutputType class.

public HandoutOutputType()
Public Sub New ()

Examples​

This example shows how to set OutputType option in PowerPoint Conversion options.

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)
options.OutputType = New 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);
options.OutputType = New HandoutOutputType();

// Call Convert method to start conversion synchronously
PowerPointConverter.Convert(@"C:\MyDocument.ppt", @"C:\MyOutput.pdf",options);
}
}

HandoutOutputType(SlidesPerPage)​

Initializes a new instance of the HandoutOutputType class.

public HandoutOutputType(SlidesPerPage slidesPerPage)
Public Sub New (slidesPerPage As SlidesPerPage)

Parameters​

Instance of SlidesPerPage class.

Examples​

This example shows how to set OutputType option in PowerPoint Conversion options.

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)
options.OutputType = New HandoutOutputType(SlidesPerPage.Two)

' 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);
options.OutputType = New HandoutOutputType(SlidesPerPage.Two);

// Call Convert method to start conversion synchronously
PowerPointConverter.Convert(@"C:\MyDocument.ppt", @"C:\MyOutput.pdf",options);
}
}

HandoutOutputType(SlidesPerPage, HandoutPrintOrder)​

Initializes a new instance of the HandoutOutputType class.

public HandoutOutputType(SlidesPerPage slidesPerPage, HandoutPrintOrder handoutOrder)
Public Sub New (slidesPerPage As SlidesPerPage, handoutOrder As HandoutPrintOrder)

Parameters​

Instance of SlidesPerPage class.

Instance of handoutOrder class.

Examples​

This example shows how to set OutputType option in PowerPoint Conversion options.

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)
options.OutputType = New HandoutOutputType(SlidesPerPage.Two, HandoutOrder.Vertical)

' 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);
options.OutputType = New HandoutOutputType(SlidesPerPage.Two, HandoutOrder.Vertical);

// Call Convert method to start conversion synchronously
PowerPointConverter.Convert(@"C:\MyDocument.ppt", @"C:\MyOutput.pdf",options);
}
}

Properties​

FrameSlides​

public bool FrameSlides { get; set; }
Public Property FrameSlides As Boolean

Property Value​

Boolean

HandoutPrintOrder​

Property to specify the order of handouts.

public HandoutPrintOrder HandoutPrintOrder { get; set; }
Public Property HandoutPrintOrder As HandoutPrintOrder

Property Value​

HandoutPrintOrder

Examples​

This example shows how to specify the order of Handouts during conversion.

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.SlidesPerPage = SlidesPerPage.Six
handoutOutputType.HandoutPrintOrder = HandoutPrintOrder.Vertical
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.SlidesPerPage = SlidesPerPage.Six;
handoutOutputType.HandoutPrintOrder = HandoutPrintOrder.Vertical;
options.OutputType = handoutOutputType;

// Call Convert method to start conversion synchronously
PowerPointConverter.Convert(@"C:\MyDocument.ppt", @"C:\MyOutput.pdf",options);
}
}

PrintHiddenSlide​

Specify if hidden slides are to be printed (Inherited from PowerPointOutputType)

public bool PrintHiddenSlide { get; set; }
Public Property PrintHiddenSlide As Boolean

Property Value​

Boolean

SlidesPerPage​

Property to specify the number of slides per page.

public SlidesPerPage SlidesPerPage { get; set; }
Public Property SlidesPerPage As SlidesPerPage

Property Value​

SlidesPerPage

Examples​

This example shows how to convert the presentation with number of slide per page option.

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.SlidesPerPage = SlidesPerPage.Two
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.SlidesPerPage = SlidesPerPage.Two;
options.OutputType = handoutOutputType;

// Call Convert method to start conversion synchronously
PowerPointConverter.Convert(@"C:\MyDocument.ppt", @"C:\MyOutput.pdf",options);
}
}

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​

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. (Inherited from PowerPointOutputType)

public void GetObjectData(SerializationInfo info, StreamingContext context)
Sub GetObjectData(info As SerializationInfo, context As StreamingContext)

Parameters​

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 .

See Also​

ceTe.DynamicPDF.Conversion