Programatically convert OneNote sections to XPS -


i need way programatically convert onenote sections files (.one) xps format. know how works excel , word, interop.onenote different. solution?

thanks lot.

you use publish function (http://msdn.microsoft.com/en-us/library/gg649853.aspx), e.g.:

using microsoft.office.interop.onenote;  ...  application onapp = new application(); string sectionid = "your section id here..."; //could page or notebook id string path = "your filepath here..."; //e.g. c:\users\myusername\documents\hi.xps onapp.publish(sectionid, path, publishformat.pfxps); 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -