Changing Markets Shapes

Dear ,


I have created a .pptx presentation using aspose.slide in which i added a “Scatter with only Marker” chart. I want to change the marker of one of the series to a custom shape (“Smiley Face” for example). Could you please provide me with a code that allows me to do that?

I tried this code :
series.MarkerSymbol = MarkerStyleTypeEx.Circle;
series.MarkerSize = 20;
//Set the picture
System.Drawing.Image img = (System.Drawing.Image)new Bitmap(@“C:\Users\Public\Pictures\Sample Pictures\Chrysanthemum.bmp”);
ImageEx image = pres.Images.AddImage(img);
series.MarkerFill.Fill.FillType = FillTypeEx.Picture;
series.MarkerFill.Fill.PictureFillFormat.Picture.Image = image;

And the output was the attached picture ( the images are not shown )

Hi Kamel,


I have observed your requirements and like to share that setting the image as SeriesMarker symbol is unavailable in Aspose.Slides at the moment as it is an issue. The sample code shared is fine. An issue with ID SLIDESNET-33819 has already been created to investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESNET-33819) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(4)