Hello,
We are receiving a unexpected error trying to update the image of a shape. If I use overloads that replace image with the bytes parameter all seems fine. Any advise how I should update the shapes ?
Thanks in advance, I include a sample project with the latest slides version that reproduces the error.
IPPImage image = null;
foreach (var shape in list)
{
if (shape is IPictureFrame pictureFrame)
{
if (image == null)
image = _presentation.Images.AddImage(bytes);
pictureFrame.PictureFormat.Picture.Image.ReplaceImage(image);
}
}
AsposeSlidesTestProject.zip (2.5 MB)