Hi,
I am trying to add a picture frame in the presentation using the Aspose.Slides for the newly created Presentation using the cloneslide option.
I am using the following code,
Aspose.Slides.Picture objPicture = new Aspose.Slides.Picture(oPres, strPictureFileName);
int pictureID = oPres.Pictures.Add(objPicture);
int pictureWidth = Convert.ToInt32((float)oPres.Pictures.GetPictureById(pictureID).Image.Width);
int pictureHeight = Convert.ToInt32((float)oPres.Pictures.GetPictureById(pictureID).Image.Height);
oSlides.Shapes.AddPictureFrame(pictureID,( pictureWidth) / 2,(pictureHeight) / 2,pictureWidth,pictureHeight);
But the created presentation doesnot contain the picture frame. So please Let me know what i am missing or wrong in adding a picture frame.....