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

Free Support Forum - aspose.com

Converting to PHP

I need to port existing ASP.Net with C# Aspose code to PHP.

Having great difficulty. This is the following code that I wish to functionally replicate in PHP:

Aspose.Slides.License license = new Aspose.Slides.License();


PresentationEx pres = new PresentationEx(path + "\\myppt.pptx");

SlideEx sld_first = pres.Slides[0];

AutoShapeEx asex = null;

foreach (ShapeEx s in sld_first.Shapes)


if (s.Name.Equals("DateTextBox"))


asex = (AutoShapeEx)s;




I realize that this will not be a line-by-line change, and that within PHP other matters are involved, eg in reading documentation either a $ = new Java or $ = new COM.

Hello Dear,

Thanks for your interest in Aspose.Slides.

I regret to share that wrapper class for Aspose.Slides for .NET inter operation is currently unavailable at the moment that may allow Aspose.Slides for .NET to be used in PHP. An issue with ID SLIDESNET-30297 has already been created in our issue tracking system as a new feature request to work on the implementation of wrapper class. This thread has also been linked with the same issue so that you may informed when the issue is resolved. The said feature will be available in Aspose.Slides for .NET 6.4.0, which is due for release by end of June 2012. For the time being, I may suggest you developing your own wrapper class based on knowledge from Aspose.Words and Aspose.PDF wrapper classes.

We are sorry for your inconvenience,