简体   繁体   中英

Display powerpoint presentation in asp.net webform?

The webform will simply display a powerpoint file for viewing purposes. We all have MS Office installed in our machine, and we can open it directly with PowerPoint , but there's other information related to the presentation that also needs to be shown. Essentially, the webform will display a GridView and the powerpoint presentation:

在此处输入图片说明

I've searched for solutions, but what I've found either require that I upload the ppt to a public website like MS SkyDrive or SlideShare which I can't do ( How to Open Powerpoint file in Browser using asp.net ), or use a 3rd-party $3,000 component like GroupDocs.Viewer or Aspose ( https://code.msdn.microsoft.com/ASPNET-Document-Viewer-e7c2a39f ).

Some links are simply very old and broken ( http://www.asp.net/AJAX/AjaxControlToolkit/Samples/SlideShow/SlideShow.aspx )

Any suggestions are appreciated.

I have observed your requirement and like to share that Aspose.Slides offers you to generate the slide images in commercial formats and also in SVG. You can use the exported output in your webforms to display the presentation. Like in your case, you can generate 250x250 dimension slide images that you can populate in image list on left to display all slides. In right pane, you can have an area where you may display the actual slide thumbnail based on select image in the list. I hope the shared information will be helpful.

http://www.aspose.com/docs/display/slidesnet/Formatting+Slides#FormattingSlides-CreatingThumbnailWithUserDefinedDimensions

My name is Mudassir and I am developer evangelist at Aspose.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM