Pen Object Library: 2.6 Working with the Ink DB: Manipulating Notes

Up: GEOS SDK TechDocs | Up | Prev: 2.5 Managing Notes and Folders | Next: 2.7 Searching and Traversing the Tree
InkNoteGetPages(), InkNoteGetNumPages(), InkNoteSetModificationDate(), InkNoteGetModificationDate(), InkNoteGetCreationDate(), InkNoteSetNoteType(), InkNoteGetNoteType()

Normally, the note will store information supplied by an Ink or Text object. However, applications may work with a note's information directly. Call InkNoteGetPages() to get the DB item in which the note's information is stored. The DB item contains a chunk array; each entry of the array contains the information for one page (the DB item associated with an Ink or Text object). To find out how many pages there are in a given note, call InkNoteGetNumPages() .

The note will be expecting either text or ink; call InkNoteSetNoteType() to specify what sort of data will be coming in. The note type is specified by means of a NoteType value: NT_INK or NT_TEXT. To find out a note's type, call InkNoteGetNoteType() .

When writing changes, you may wish to update the note's modification date. Call InkNoteSetModificationDate() to update this information. To find out the date last modified, call InkNoteGetModificationDate() . To find out the date the note was created, call InkNoteGetCreationDate() .


Up: GEOS SDK TechDocs | Up | Prev: 2.5 Managing Notes and Folders | Next: 2.7 Searching and Traversing the Tree