onenote 2007 tagdef tag gallery

S

Sam

Greetings,

I hope I am posting to the right discussion group. If not, please tell me
where to post this question.

I am writing an addin using C# for OneNote 2007. I need to find the
definitions for the "tag gallery" refered to in the schema for the TagDef
element. Can anyone help?

Thanks!
 
J

John Guin [msft]

Hi Sam,

Does this help?

The tag definition is indexed at the beginning of the XML. It’s numerical
value is set in the order in which the tag is applied and looks like this:
<one:TagDef index="0" type="0" symbol="3" fontColor="automatic"
highlightColor="none" name="To Do" />

The index attribute of the Tag node is used to identify the definition,
based on the index value, inside the object for which it is applied. For
example, the following xml:

<one:Tag index="0" completed="false" disabled="false"
creationDate="2009-02-23T16:32:40.000Z" />
<one:T><![CDATA[Test]]></one:T>

Refers to the TagDef listed above.
 
Top