HandoutOutputType.SlidesPerPage Property

Property to specify the number of slides per page.

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

Property Value

SlidesPerPage

Licensing Info

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

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)
        Dim handoutOutputType As 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");
    }  
}

See Also

HandoutOutputType
ceTe.DynamicPDF.Conversion

In this topic