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

Free Support Forum - aspose.com

Thumbnail display of shapes becomes strange

Hi.



When you create a thumbnail with a slide with a certain shape

Shapes are shrunk and displayed.



For details, please see attached file.



Do you know what caused the problem?

Please tell me if there is a workaround.



The version of aspose.slides is

17.5.0.0



Because the English can not be, I’m sorry if there is a deficiency in the text.





-----

Additional notes.



As I looked it up, it’s in “Formatting figures”

“Automatic adjustment” of “text box” is

“Adjust the size of the figure to fit the text”

It seems that this phenomenon will occur if checked in.



In the first place why this setting seems to be strange about the size of this figure.

I feel that there are bugs on the Microsoft side rather than Aspose …

Hi,

I have worked with presentation file using Aspose.Slides for .NET 17.5 on my end and have been able to generate the correct slide thumbnail using following code. For your kind reference, the generated thumbnail is also attached.

public static void GenThumb(String presName,String path)
{
using(Presentation pres =new Presentation(path+presName))
{
for(int i=0;i<pres.Slides.Count;i++)
{

ISlide slide = pres.Slides[0];
Bitmap thumb = slide.GetThumbnail(1f, 1f);
thumb.Save(path + “Slides\Slide_” + (i + 1).ToString() + “.png”, System.Drawing.Imaging.ImageFormat.Png);
}

}
}

Many Thanks,