Free Support Forum - aspose.com

Protection level

I have a question on the PowerPoint object protection level. I tryed taking the powerpoint dll, and adding it as a reference object. Then I added this line to my c# code:

using Aspose.PowerPoint;

However, if I add this code and build the asp.net web application:
private void ExportToPowerPoint()
{
Presentation pres = new Aspose.PowerPoint.Presentation();
}

I get the message "Aspose.PowerPoint.Presentation.Presentation() is inaccessible due to its protection level"

At this point, I am trying the product out. Is there a reason for this message, like the nature of the methods, etc., in the PowerPoint DLL?

Dear Randy,

Aspose.PowerPoint.Presentation class doesn’t have public constructors without parameters.
Please check API reference for Presentation constructors