Hi,
Hi Khushboo,
Presentation pres = new
Presentation(@“D:\Test.pptx”);<o:p></o:p>
foreach (Slide slide in pres.Slides)
{
foreach (IShape shape in slide.Shapes)
{
if (shape is PictureFrame)
{
//Create Thumbnail Here
}
}
}
Hi,
Presentation pres = new Presentation(@“D:\Test.pptx”);<o:p></o:p>
foreach (Slide slide in pres.Slides)<o:p></o:p>
{<o:p></o:p>
foreach (IShape shape in slide.Shapes)<o:p></o:p>
{<o:p></o:p>
if (shape is PictureFrame)<o:p></o:p>
{<o:p></o:p>
var img=<o:p></o:p>shape.PictureFormat.Picture.Image;
var cropFormat=shape.PictureFormat;
using (Stream stream = File.OpenWrite(""))
{
stream.Write(shape.PictureFormat.Picture.Image.BinaryData, 0, shape.PictureFormat.Picture.Image.BinaryData.Length);
}
}<o:p></o:p>
}
}
Hi Khushboo,
Hi,
Hi Khushboo,