I tried to find out if it is possible to add content to oneNote page via UpdatePageContent in the link Microsoft.Office.Interop.OneNote.
I want to create a page with a default template that I created in XML, but the msdn documentation told me that this function only allows structure:
msdn doc:
The only objects that you must include in the XML code that you pass to the UpdatePageContent method are page-level objects (such as paths, images on the page, or ink on the page) that have changed. This method does not modify or delete page-level objects that you do not specify in the bstrPageChangesXmlIn parameter. The method completely replaces page-level objects, such as paths, whose identifiers match the identifiers of the objects you pass. Therefore, you must fully specify all page-level objects in your code, including their existing content and the changes you want them to make.
My question is: can I add an element to the page with this library? if so, how?
thanks
c # xml visual-studio-2010 onenote xsd
Sebastien
source share