I’m trying to figure out how do I add a shape that is a bitmap to the diagram using Aspose.Diagram?
I tried code like this, and it didn’t seem to work:
using (Stream stream = new MemoryStream())
byte buffer = new byte[stream.Length];
stream.Read(buffer, 0, (int)stream.Length);
visioShape.Type = TypeValue.Foreign;
visioShape.ForeignData.CompressionLevel = 0.05;
visioShape.ForeignData.ForeignType = ForeignType.Bitmap;
visioShape.ForeignData.CompressionType = CompressionType.PNG;
visioShape.ForeignData.Value = buffer;
Any new news on this? Is there any way to add a bitmap to Visio document currently?
Any update? If this is not resolved I fear we’ll have to go to another vendor in the future. This is blocking an important feature in our application.
OK thanks for the update. We’ll wait for Q3 for the feature to proceed.
[quote user=“imran.rafique”]Hi Charley,
Hi, is there any update on this feature?
The issues you have found earlier (filed as DIAGRAM-33432) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.