function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Leon2Leon2 

Capture a visualforce snapshot onto a ppt

I have a visualforce page. I need to have a button which when clicked should result in the snapshot of the visualforce page being captured onto a ppt file. Alternatively, render the vf page as a ppt slide.

 

I tried the contenttype attribute but doesnt seem to work. I have heard people saying that the rendering works only for doc, pdf and xls. Any thoughts or suggestions on how to achieve this are welcome.


Thanks in advance.

Navatar_DbSupNavatar_DbSup

Hi,

 

 You can set content type attribute of visual force get Visual force snapshot on ppt .

        

<apex:page contenttype="application/vnd.ms-ppt#Presentation.ppt"/>

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.