We’re considering buying ASPOSE.Report to simply take Word2000 Documents and convert them to PDF and add a Note attachment after conversion. Does it matter what Edition version we buy (Basic vs. Corporate) because we will not be generating any PDF doc’s except to add a timestamp Note. For example, a Word2000 Doc with a colored background and highlighted True Font text with an embedded image will be converted using ASPOSE.WORD and it’s output directly used as input into ASPOSE.PDF as in the sample code below.
Will the PDF version look like the original Word2000 Doc? What will be lost? Do you have a known “Not Supported in conversion List” or should we simply assume that the PDF output will look like the original Word2000 document?
Dim mStreamXML As MemoryStream = New MemoryStreamDim xmlDoc As System.Xml.XmlDocument = New System.Xml.XmlDocumentDim objDocument As WORD.Document = New WORD.Document(InPath)objDocument.Save(mStreamXML, WORD.SaveFormat.FormatAsposePdf)xmlDoc.LoadXml(System.Text.Encoding.ASCII.GetString(mStreamXML.ToArray()))
Dim objPDF As PDF.Pdf = New PDF.PdfobjPDF.BindXML(xmlDoc, Nothing)
'Add Timestamp Note ( don't care about font for note).
Dim strTimestamp As String = "This document was converted from Word to PDF on " & Now.ToShortDateString & " " & Now.ToLongTimeString
Dim noteAttachment As PDF.Attachment = New PDF.AttachmentDim sec1 As PDF.Section = objPDF.Sections.Add()sec1.Paragraphs.Add(noteAttachment)noteAttachment.AttachmentType = PDF.AttachmentType.NotenoteAttachment.NoteContent = strTimestampnoteAttachment.NoteHeading = "Word2PDF Conversion Timestamp"noteAttachment.IsNoteOpen = True
Thanks for your help!