Problems with PPTX documents

Hi,

We recently purchased Aspose.Slides and are having problems opening PPTX (Powerpoint 2007) files. (Even blank presentations) Upon running the following line of code in C#.

Presentation Document = new Presentation(FilePath);

We are getting the following exception:

{"Index was outside the bounds of the array."}

We were assured that Office 2007 is supported and purchased Aspose.Slide to work with powerpoint 2007 documents. It is important that we can resolve this as soon as possible.

Thanks for your assistance,
Simon

Hello Simon,
Aspose.Slides contains completely different set of classes to process PPTX files. Use Aspose.Slides.Pptx.PresentationEx class.

Hi Nikolai,


Thank you for your quick reply. The issue is that we are using the following two methods in the Presentation Class and Slide Class:

Presentation.GetSlideByPosition()
Slide.GetThumbnail()

These methods do not seem to be available in the PresentationEx class and SlideEx class. How can achieve the same functionality for PPTX files?

Regards,
Simon

Hello Simon,

All slides in pptx format already sorted in correct order so it’s not necessary to use GetSlideByPosition method. You can access slides directly by index:

PresentationEx pptx = new PresentationEx(…);
SlideEx slide = pptx.Slides[i];

SlideEx.GetThumbnail also known as rendering currently in development. First version will be available for public testing in September.

Hi Alexey,


Has SlideEx.GetThumbnail been released yet?

Thanks,
Simon

Hello Simon,

It should be available at the end of the next week.

Hi Simon,

The September release of Aspose.Slides for .NET is due and we will let you know as soon as it is done.

Any release date set for this yet? We’re evaluating Aspose Slides and this is a critical feature for us.

It will be available on Sunday as promised before.

how can I convert the Bitmap to a PDF ?

Hi,

You need some component like Aspose.Pdf for this and an example is here. However, PPTX to PDF export will be implemented in the upcoming release which is due in one or two weeks. The issue id for this feature is 10966 and you will be informed on availability of this feature.

The issues you have found earlier (filed as 10966) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(9)