Sorry Sabir,
Its working fine now.I had missed this line.
tbl.GetCell(0, 0).FillFormat.Type = FillType.Picture;
Sorry Sabir,
Its working fine now.I had missed this line.
tbl.GetCell(0, 0).FillFormat.Type = FillType.Picture;
Hi Santhosh,
Try the code like this one.
Presentation pres = new Presentation();
Aspose.Slides.Picture pic = new Aspose.Slides.Picture(pres, "d:\\ppt\\ydn\\testpic.jpg");
pres.Pictures.Add(pic);
int picid = pic.PictureId;
Slide sld= pres.GetSlideByPosition(1);
Aspose.Slides.Table tbl= sld.Shapes.AddTable(50, 100, 1500, 500, 3, 3);
tbl.GetCell(0, 0).FillFormat.Type = FillType.Picture;
tbl.GetCell(0, 0).FillFormat.PictureId = picid;
pres.Write("d:\\ppt\\ydn\\myPPT.ppt");