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 Publisher hyperlinks to PDF hyperlinks.

bool ConvertHyperlinks { get; set; }

Property ConvertHyperlinks As Boolean

def getConvertHyperlinks(self)
def setConvertHyperlinks(self, value)
boolean getConvertHyperlinks() throws PrinterException
void setConvertHyperlinks(boolean value) throws PrinterException
function getConvertHyperlinks() 
function setConvertHyperlinks($value) 
BclPrnResult GetConvertHyperlinks(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetConvertHyperlinks(BclPrinter* pPrinter, BclBool newVal);
Property ConvertHyperlinks As Boolean

Type:

Boolean

Remarks

This property is set to True by default, which means hyperlinks will be converted into PDF.

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.PublisherPrintJobEx
oPrintJob.ConvertHyperlinks = True
oPrintJob.PrintOut "C:\test\input.pub", "C:\test\output.pdf"

Example Usage in VB.NET

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

Example Usage in C#

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