We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problem with Image size

Hi

I have a problem with image size.I generate a PPT when i show slide in 100% it display is fine . But when i press F5 to full screen. the image not shown very clear (blur..).Please find the attachment samplePPT.ppt.

And i used such code to generate that image.

MemoryStream stream = new MemoryStream((byte[])slide.Value);
Picture pic = new Picture(m_presentation, stream);
int picId = m_presentation.Pictures.Add(pic);
shape.FillFormat.Type = FillType.Picture;
shape.FillFormat.PictureId = picId;

Please suggest me appropriate solution of this problem.

Thanks

Risagr

Hello Risagr,

Can you please paste your full code because I am not able to diagnose your problem? Is SamplePPT.ppt is a source ppt?


No this is not a source ppt. I used a templete PPT where i replace Chart(Dundas Chart) Into the shape. Thats SamplePPT.ppt is the generate one. when i see the shape on slide 100% we got clear image into the slide but when i pressed F5 slide show image into the shape got not clear(I think shape get strached thats why my image on it has also strached.). I will provide you sample code which i replace that image into slide.

Thanks

Risagr