We are trying to print the document which is having text on left side and image on the right side. If the document prints through MS word it prints properly but with Aspose the text and image is overlapping. We tried out several methods, following is one of those. (PFA Test file)
doc = New Aspose.Words.Document(fileName)
Dim shape As New Shape(doc, ShapeType.Image)
shape.WrapType = WrapType.Inline ' Tried with other options also.
shape.AllowOverlap = True
shape.BehindText = True ' Tried with False
doc.Protect(ProtectionType.ReadOnly)
doc.Print()
Please let us know other options to get the print of the document as like MS Word. TIA
- Shailesh
Hello
Thanks for your request. The problem occurs because the current version of Aspose.Words does not fully support positioning of floating objects upon rendering. But this problem is already resolved in the current codebase. The fix will be included into the next hotfix, which will be released within few weeks. You will be notified.
Best regards,
Thanks for update, we will appreciate if you let us know about the hot-fix. We will be waiting for the next release.
-Shailesh
Thanks for your inquiry. Of course, your request has been linked to the appropriate issue. You will be notified as soon as the new version of Aspose.Words is released.
Best regards,
Thanks Andrey,
Last time I sent you the document which we wanted to print using Aspose, that was containing the image on the right side and text on the left side. And we were facing the (Text & Image)overlapping issue.
I am attaching the other document in which we have modified as the image is in the center and text is below the image, still we are facing the same issue. For this document to print as same like MS word do you have any solution?
And we would like to know when will be the release date(tentative), having fixed this overlapping issue.
Thanks,
Shailesh
Hello
Thank you for additional information. I am happy to tell you that this issue is resolved. This new feature is going to be included in Aspose.Words for .NET 9.6 that is about to be released in just a few days. You will be notified.
Best regards,
Thank you for quick respose, we are eagerly waiting for your update.
- Shailesh
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.
(35)
Thanks for the update.
- Shailesh