Received : 2007/07/19 14:45:38
Message : The following demo does not work please help.
Type 'Aspose.Words.Word' is not defined.
'Open the DOC file using Aspose.Word.
Dim word As Aspose.Words.Word = New Aspose.Words.Word()
Document(doc = word.Open("MyDocument.doc"))
'You can merge data/manipulate document content here.
'Save the document in Aspose.Pdf.Xml format.
doc.Save("MyDocument.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("MyDocument.xml", Nothing)
'Instruct to delete temporary image files.
pdf.IsImagesInXmlDeleteNeeded = True
'Produce the PDF file.
pdf.Save("MyDocument.pdf")
This message was posted using Aspose.Live 2 Forum