> Hello David,
>
> It took me a bit to find this myself, but buried in the XSD (the Schema Map
> node in the CHM file for the OneNote API reference) is the note that all
> values are in points.
>
>
> --
> Hope this helps,
> John Guin
> OneNote Test Team
>
http://blogs.msdn.com/johnguin>
>
> "David" wrote:
>
> > Hi John,
> > I got schema doc but cannot find definite explanation what are the
> > measurment units. Check Position and Size types in schema.
> > Perhaps I should not set Position and Size and ON will infer from the Ink
> > object?
> > Im really confused here...
> > David
> >
> > "John Guin [msft]" wrote:
> >
> > > Hi David,
> > >
> > > Have you downloaded the API documentation for Office 2007 yet? It's at
> > >
http://www.microsoft.com/downloads/details.aspx?FamilyId=15805380-F2C0-4B80-9AD1-2CB0C300AEF9&displaylang=en if you haven't found it.
> > >
> > > I hadn't looked through it for awhile myself and had to redicover the reason
> > > I should have read it before starting on a recent powertoy:
> > >
http://blogs.msdn.com/johnguin/archive/2008/12/01/reading-the-onenote-schema-documentation-helps-prevent-bugs.aspx> > >
> > > --
> > > Thanks,
> > > John Guin
> > > OneNote Test Team
> > >
http://blogs.msdn.com/johnguin> > >
> > >
> > > "David" wrote:
> > >
> > > > thanks a lot ,
> > > > I aslo realized that I dont need to assign ObjectIDs to my inks, ON
> > > > generates them upon update.
> > > > Can you explain what are the measurment units of inks in ON?
> > > > I mean this :
> > > > <one:Position x="8.532282829284667" y="9.836220741271973" z="0" />
> > > > <one:Size width="0.68031495809555" height="0.0283466577529907" />
> > > > David.
> > > >
> > > >
> > > > "John Guin [msft]" wrote:
> > > >
> > > > > Hello David,
> > > > >
> > > > > Generally speaking, you should not need to add an ObjectID in your code - ON
> > > > > will assign one when the object is created. If you really need to track an
> > > > > ID associated with your content, you can add a tag in the metadata.
> > > > >
> > > > > As far as creating a section goes, see my text importer addin - it creates
> > > > > sections when you import text files from a folder:
> > > > >
http://blogs.msdn.com/johnguin/archive/2007/04/30/customer-feedback-results-in-another-powertoy.aspx> > > > >
> > > > > --
> > > > > Hope some of this helps,
> > > > > John Guin
> > > > > OneNote Test Team
> > > > >
http://blogs.msdn.com/johnguin> > > > >
> > > > >
> > > > > "David" wrote:
> > > > >
> > > > > > Hi
> > > > > > Im trying to add MS Inks to the ON page.
> > > > > > What is a correctway to perform this? Imtrying UpdatePageContent with
> > > > > > code-created XML string.
> > > > > > Can anybody explain how to create Ink element :
> > > > > >
> > > > > > <one:InkDrawing lastModifiedTime="2008-12-10T21:54:42.000Z"
> > > > > > objectID="{C9A723CF-F843-436F-9DC9-502DA4CCDD64}{12}{B0}">
> > > > > > <one:Position x="68.25826263427734" y="90.73700714111328" z="1" />
> > > > > > <one:Size width="81.77953338623047" height="73.53070068359375" />
> > > > > > <one:Data>AIkCHQTcAcYBAUBYz1SK5pfFT48G+LrS4Zsiv+xxzMwisUGJDrsTLO56od67E4vlXrNInJuhJVq.....
> > > > > > =</one:Data>
> > > > > > </one:InkDrawing>
> > > > > >
> > > > > > How shall I create ObjectID? Any chance for real sample code? ( not "add
> > > > > > blankpage, add title ")
> > > > > >
> > > > > > Another question : how can I add a new section to the existing Notebook?
> > > > > >
> > > > > > Please help.
> > > > > > David
> > > > > >