I'm using the code below to generate a Word doc containing only an image from an ASP.NET app. As well as the image, the resulting doc contains the Evaluation Use Only warning (fair enough), but then also about six random characters. Do these characters disappear when licensed or is there a problem?
Cheers,
Max Christian
Dim doc As New Aspose.Word.Document
Dim docB As New Aspose.Word.DocumentBuilder(doc)
Dim img As New Bitmap("filenameOfExistingImage.PNG")
docB.PageSetup.PaperSize = Aspose.Word.PaperSize.A4
Dim scale As Double = docB.PageSetup.PageWidth / img.Width
docB.InsertImage(img, img.Width * scale, img.Height * scale)
Dim outFilename As String = "Somefile.DOC"
doc.Save(outFilename, Aspose.Word.SaveFormat.FormatDocument, Aspose.Word.SaveType.OpenInWord, Response)