BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

PowerPointTimeout Property

Timeout for the PowerPoint conversion step of PowerPointPrintJobEx.

Type:

Long (milliseconds)

Remarks

This determines the timeout interval for the PowerPoint conversion step of PowerPointPrintJobEx. Note that this timeout does not include the printing step or the waiting in queue phase. The total time consists of waiting for PowerPoint, followed by the conversion, and finally the printing to PDF. The printing step is missing when NativeOfficePDF is True.

The default timeout interval is two minutes.

Set to zero if you want to wait indefinitely.

Example Usage in VBScript

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PowerPointPrintJobEx

' Set PowerPoint conversion timeout interval to 5 minutes
oPrintJob.PowerPointTimeout = 5 * 60000

oPrintJob.PrintOut "C:\test\input.ppt", "C:\test\output.pdf"

Example Usage in VB.NET

Dim oPrinter As Printer = CreateObject("easyPDF.Printer.8")
Dim oPrintJob As PowerPointPrintJobEx = oPrinter.PowerPointPrintJobEx

' Set PowerPoint conversion timeout interval to 5 minutes
oPrintJob.PowerPointTimeout = 5 * 60000 

oPrintJob.PrintOut "C:\test\input.ppt", "C:\test\output.pdf"

Example Usage in C#

Printer oPrinter = new Printer();
PowerPointPrintJobEx oPrintJob = oPrinter.PowerPointPrintJobEx;


// Set PowerPoint conversion timeout interval to 5 minutes
oPrintJob.PowerPointTimeout = 5 * 60000;

oPrintJob.PrintOut(@"C:\test\input.ppt", @"C:\test\output.pdf");