Graphics do not get rendered correctly

We use Aspose to generate PNG preview files of our Word documents as follows:

Dim wordDoc As Aspose.Words.Document = TryCast(CurrentDoc, Aspose.Words.Document)

If wordDoc IsNot Nothing Then
    Using imageStream As New MemoryStream Dim saveOpts As New Aspose.Words.Saving.ImageSaveOptions(Aspose.Words.SaveFormat.Png)
        saveOpts.PageIndex = Index
        wordDoc.Save(imageStream, saveOpts)
        CommonDownload.DeliverBytes(ScaleImage(New Bitmap(imageStream), maxWidth, maxHeight).ToArray(), "image/png")

    End Using
End If

If the Word file contains a graphic, is ALWAYS floats over the text, rather than paying attention to the properties of the graphic. Is this a known bug? Is there a fix or work-around? We’ve had this problem for a LONG time and our customers are expecting it to be fixed soon:)

I’ve attached an example file.

Thanks,
Andy.

Hello

Thanks for your request. I managed to reproduce the problem on my side. Your request has been linked to the appropriate issue. You will be notified as soon as this feature is supported. The problem occurs because Aspose.Words does not support floating images positioning during rendering. As a workaround, you can try refactoring your document to avoid using floating image.
Best regards,

We are happy to tell you that a very cool and important feature (filed as 7180) is included in the new version of Aspose.Words. Text wrapping around images and shapes when rendering Microsoft Word documents to PDF, XPS and printing is now supported. You can download the latest version from here.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(138)