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

AddInTimeout Property

Gets/Sets Add-In execution timeout value.

Type:

Long (milliseconds)

Remarks

For bookmark and hyperlink conversion, Word Add-In module is executed just before PDF conversion.

Timeout value is in milliseconds. Set to zero if you want to wait indefinitely.

Example Usage

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

oPrintJob.ConvertBookmarks = True
' Make words or phrases with "Heading 1" style to
' become top level bookmarks, and words or phrases
' with "Heading 2" style to become level two bookmarks.
oPrintJob.BookmarkDepth = "Heading 1|1|Heading 2|2"

' Set Add-in execution timeout value to 2 minutes
oPrintJob.AddInTimeout = 2 * 60000

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