C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » .NET Framework »

Modify PPTX Using .Net


Posted Date: 04 Jul 2007    Resource Type: Articles    Category: .NET Framework
Author: Anuj BhatnagarMember Level: Bronze    
Rating: 1 out of 5Points: 7




1. First create object of Package for this you have to include System.IO.Packaging
e.g.
Dim o_Package As Package




2. Open Package using open method of Package class its take three arguments
o_Package = Package.Open(sFilename, FileMode.Open, FileAccess.ReadWrite)




3. Create instance of XmlNamespaceManager
e.g .

Dim o_XMLNSMgr As XmlNamespaceManager = New XmlNamespaceManager(o_NameTbl As New NameTable)




4. Next Create instance of xmldocument class
e.g.

Dim o_XMLDoc As XmlDocument = New XmlDocument(o_NameTbl)




5. Create object of Package Part

e.g.

Dim o_PckgPart As PackagePart




Now using getPart method you can uas any Part of that Package it will take Parturi as argument




Using Package Part you can Modify Any object of PPTX like Graph, Text, Table etc. same way you can also modify XLSX and DOCX file on runtime.







Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Advanced Features of C# structure datatype
Previous Resource: Biztalk Ports
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
Related Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use