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 )