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

ConvertHyperlinks Property

Gets/Sets the flag to indicate whether to convert Word hyperlinks to PDF hyperlinks.

Type:

Boolean

Remarks

This property is set to True by default (be aware that this is the opposite of WordPrintJob where the equivalent property defaults to False).

WordPrintJobEx should be strongly considered when large documents containing many hyperlinks are converted as it offers better performance and significantly improved hyperlink accuracy (compared to WordPrintJob) in this usage case.

Note that if NativeOfficePDF is set to True, then hyperlinks will always be enabled regardless of what you have specified for ConvertHyperlinks.

Example Usage in VBScript

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.WordPrintJobEx
oPrintJob.ConvertHyperlinks = True
oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"

Example Usage in VB.NET

Dim oPrinter As Printer = CreateObject("easyPDF.Printer.8")
Dim oPrintJob As WordPrintJobEx = oPrinter.WordPrintJobEx
oPrintJob.ConvertHyperlinks = True
oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"

Example Usage in C#

Printer oPrinter = new Printer();
WordPrintJobEx oPrintJob = oPrinter.WordPrintJobEx;
oPrintJob.ConvertHyperlinks = true;
oPrintJob.PrintOut(@"C:\test\input.doc", @"C:\test\output.pdf");