I’ve just downloaded the latest-and-greatest support for .NET because of it’s SmartArt support. IN most cases it’s working fine; adding CustomProperties, etc. The one thing that is NOT working is when we convert the Word document to an image (PNG in our case). Then the SmartArt is lost. Is this a know bug? When is this going to be supported?
Thanks for considering Aspose.
WordArt is properly supported upon rendering. Could you please attach your document and code here for testing and I will provide you some feedback.
I can't attach the file (well, certainly not to the forum) as it's a customer file that is proprietary. However, I've uploaded a new file I just created, which does also fail, and our code is as follows:
Using blobStream As New System.IO.MemoryStream(fileData)
Dim wordDoc As New Aspose.Words.Document(blobStream)
Using memStream As New MemoryStream
' first page
If Deliver Then
.ContentType = "image/png"
theImage = System.Drawing.Image.FromStream(memStream)
Basically, fileData is the Word file being retreived from a database record and we stream the results down to the client.
Thanks for posting your attachments.
My apologises, I interpreted your first post as WordArt and not as SmartArt. Currently SmartArt is preserved roundtrip when loading and saving in DOCX format. We will look into supporting rendering of DrawingML sometime in the future. We will keep you informed regarding any developments.
In the mean time the only work around I can suggest is to manually convert these smart art objects into an image (in MS Word) before rendering them.
Also please note that any attachments you post to the forum are private and can only be downloaded by you and specific Aspose staff.
If you have any further inquiries, please feel free to ask.
Is there a time-scale for this to be supported? Our customers are becoming increasingly frustrated that this is missing.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. Unfortunately, I cannot provide you any reliable estimate regarding this feature at the moment. Most likely, this feature will be supported somewhere at the beginning of the next year. But currently I cannot promise you any exact date. You will be notified as soon as it is supported.