Based on this example it should be possible to export a Visio diagram to a HTML file:
Unlike the example I need to convert the file into a memory stream not a file. While calling the corresponding Save overload I get the following exception:
Aspose.Diagram.DiagramException: Export to Stream for ‘HTML’ format is not supported.
It doesn’t make sense for me that it’s possible to export a diagram to a HTML file, but not write the HTML file into a stream. Is it really not possible to convert a diagram to a HTML file in a memory stream directly?
Thank you for contacting support. I’m sorry to share with you that it is not supported. However, I’ve logged a feature request under ticket id DIAGRAMNET-50143 in our issue tracking system. Your request has also been linked to this issue. We’ll keep you informed regarding any updates. We’re sorry for the inconvenienced you faced.
Thank you for being patient. We have a good news for you that the issue id DIAGRAMNET-50143 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version of Aspose.Diagram for .NET 5.9.0. We’ll inform you via this forum thread as soon as the new release is published.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.