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

VisioTimeout Property

Timeout for the Visio conversion step of VisioPrintJobEx.

Type:

Long (milliseconds)

Remarks

This determines the timeout interval for the Visio conversion step of VisioPrintJobEx. Note that this timeout does not include the printing step or the waiting in queue phase.

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.VisioPrintJobEx

' Set Visio conversion timeout interval to 5 minutes
oPrintJob.VisioTimeout = 5 * 60000

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

Example Usage in VB.NET

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

' Set Visio conversion timeout interval to 5 minutes
oPrintJob.VisioTimeout = 5 * 60000 

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

Example Usage in C#

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


// Set Visio conversion timeout interval to 5 minutes
oPrintJob.VisioTimeout = 5 * 60000;

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