I am trying to convert an MS Word document to PDF and i have no problems doing this, until i have hyperlinks within the word document.
Can you please help me.. i have attached the MS Word Document and xml file created...
Many Thanks Mark Wakelin
my code is ...
Dim doc As New Aspose.Words.Document(sWordDocument)
Dim sNewWordToPDF As String = sWordDocument.Substring(0, Len(sWordDocument) - 3)
doc.Save(sNewWordToPDF & "xml", SaveFormat.AsposePdf)
'Read the document in Aspose.Pdf.Xml format into Aspose.Pdf.
Dim pdf As Aspose.Pdf.Pdf = New Aspose.Pdf.Pdf()
pdf.BindXML(sNewWordToPDF & "xml", Nothing)
pdf.IsImagesInXmlDeleteNeeded = True
'Produce the PDF file.
pdf.Save(sNewWordToPDF & "pdf")