Pen Object Library: 2.2 Working with the Ink DB: Displaying the Data

Up: GEOS SDK TechDocs | Up | Prev: 2.1 Getting Started | Next: 2.3 Titles and Keywords
InkNoteLoadPage(), InkNoteSavePage(), InkGetDocPageInfo(), InkSetDocPageInfo(), InkSetDocGString(), InkGetDocGString(), InkNoteGetNoteType()

Assuming that the application is using text and ink objects to display the information held in the Ink DB, use InkNoteLoadPage() and InkNoteSavePage() to transfer information between the Ink object and the Ink DB. InkNoteLoadPage() loads an ink or text object with the data stored within the passed note. Use InkNoteGetNoteType() to determine what sort of data is stored within the note. Once the user has made changes, those changes should be stored to the database. Call InkNoteSavePage() to write the changes.

To find out the document size associated with an Ink Database, call InkGetDocPageInfo() . To change the page size, call InkSetDocPageInfo() .

The Ink DB routines support the notion of a background picture for ink information. There is one background picture for the entire database. To set the background picture, use InkSetDocGString() . To find out the current background picture, call InkGetDocGString() .

The background GString is stored in VM; call GrLoadGString() and GrDrawGString() to draw it.


Up: GEOS SDK TechDocs | Up | Prev: 2.1 Getting Started | Next: 2.3 Titles and Keywords