SlidesPerPage Enum
Represents number of slides per page.
public enum SlidesPerPage
Public Enum SlidesPerPage
Inheritance: ObjectValueTypeEnumSlidesPerPage
Fields
SlidesPerPage.Four | 4 | Four slides per page. |
SlidesPerPage.Nine | 9 | Nine slides per page. |
SlidesPerPage.One | 1 | Single slide per page. |
SlidesPerPage.Six | 6 | Six slides per page. |
SlidesPerPage.Three | 3 | Three slides per page. |
SlidesPerPage.Two | 2 | Two slides per page. |
Licensing Info
This enum 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 number of slide per page conversionOptions.Imports ceTe.DynamicPDF.Conversion
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
' 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(600.0,700.0,75.0);
HandoutOutputType handoutOutputType = new HandoutOutputType();
handoutOutputType.SlidesPerPage = SlidesPerPage.Two;
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");
}
}