Click here to Skip to main content
15,914,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

My requirement is i need to count number of words and lines contained by a .ppt file.I am working with a windows application.I have got the count of number of slides in a .ppt file.I am using microsoft.office.interop.PowerPoint.Plz any one provide me any solution for the same.Thanks in Advance.And Waiting For your quick response.

regards,
sachin
Posted

Slide class will have some properties for achieving this
 
Share this answer
 
The PresentationClass.BuiltInDocumentProperties[^] should contain the number of words. However, I'n not sure if the number of lines is recorded in properties so you may have to iterate through the texts in the slides and search for line breaks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900