OLE Image Setting

Hi,I am embedding the Excel sheet as OLE object in slide. I am able to do that.But to set the image for OLE i am using

ImageEx imgx = preEx.Images.AddImage(image);

oof.Image = imgx; //obselete

But it says the method is obselete and use oof.SubstituteImagePictureFillFormat but i am not able to find how i can use this method to set the image for ole.

Can you please share some sample code with me how i can achieve this.

Thanks,

Amit

Hi Amit,


I have observed the issue shared and like to share that this message was mistakenly shared in old product release and was resolved in Aspose.Slides for .NET 6.6.0 by removal of comments shared. Please try using the latest version of Aspose.Slides for .NET 7.5.1 and if there is still an issue then please share the sample application with us so that I may recreate a ticket for this.

Please use following property for setting the ole frame image.

OleObjectFrameEx.SubstituteImagePictureFillFormat.Picture.Image


Many Thanks,