Up: GEOS SDK TechDocs | Up | Prev: InkFolderGetNumChildren() ... | Next: InkNoteSetModificationDate() ...

InkNoteGetCreationDate()

dword 	InkNoteGetCreationDate( 
        dword 		tag,		/* ID# of note */
        VMFileHandle		fh);		/* Handle of Ink DB file */

This routine gets a note's creation date.

Include: pen.goh

InkNoteGetKeywords()

void 	InkNoteGetKeywords(
        dword 		tag, 		/* ID# of note */
        VMFileHandle 		fh,		/* Handle of Ink DB file */
        char *		text); 		/* String to hold return value */);

This routine fills the passed buffer with the note's keywords. The target buffer should be of atleast length INK_DB_MAX_NOTE_KEYWORDS_SIZE +1. The string will be null-terminated.

Include: pen.goh

InkNoteGetModificationDate()

dword 	InkNoteGetModificationDate( 
        dword 		tag,		/* ID# of note */
        VMFileHandle		fh);		/* Handle of Ink DB file */

This routine gets a note's modification date.

Include: pen.goh

InkNoteGetNoteType()

NoteType 	InkNoteGetNoteType( /* 0: Ink, 1: Text */
        dword 		tag,		/* ID# of note */
        VMFileHandle		fh);		/* Handle of Ink DB file */

This routine gets a note's NoteType : NT_INK or NT_TEXT.

Include: pen.goh

InkNoteGetNumPages()

word 	InkNoteGetNumPages(
        dword 		tag);		/* ID# of note */

This routine returns the number of pages within the passed note.

Include: pen.goh

InkNoteGetPages()

DBGroupAndItem 	InkNoteGetPages(
        dword 		tag,		/* ID# of note */
        VMFileHandle		fh);		/* Handle of Ink DB file */

This routine returns a DB group and item containing a chunk array. The chunk array contains the page information of the note, either compressed pen data or text. Each array element holds one page of data.

Include: pen.goh

InkNoteLoadPage()

void 	InkNoteLoadPage(
        dword 		tag,		/* ID# of note */
        VMFileHandle		fh,		/* Handle of Ink DB file */
        word 		page, 		/* Page number */
        optr 		obj, 		/* an Ink or VisText object */
        word 		type);		/* note type 0: ink, 1: text */

This routine loads a visual object (Ink or Text) with the contents of the passed Ink Database page. Be sure to load only the correct type of data into an object.

Include: pen.goh

InkNoteMove()

void 	InkNoteMove(
        dword 		tag, 			/* ID# of note */
        dword 		pfolder, 			/* ID# of new parent folder */
        VMFileHandle 		fh);			/* Handle of Ink DB file */

This message moves the passed note to a new location. All references to the note are suitably altered.

Include: pen.goh

InkNoteSavePage()

void 	InkNoteSavePage(
        dword 		tag,		/* ID# of note */
        VMFileHandle		fh,		/* Handle of Ink DB file */
        word 		page, 		/* Page number */
        optr 		obj, 		/* an Ink or VisText object */
        word 		type);		/* note type 0: ink, 1: text */

This routine saves the contents of a visual object (Ink or Text) to the passed Ink Database page.

Include: pen.goh

InkNoteSendKeywordsToTextObject()

void 	InkNoteSendKeywordsToTextObject(
        dword 		tag, 		/* ID# of note */
        VMFileHandle 		fh,		/* Handle of Ink DB file */
        optr		text); 		/* Text object to set */);

This message replaces the passed VisText object's text with the keywords from the passed folder or note of an Ink Database file.

Include: pen.goh

InkNoteSetKeywords()

void 	InkNoteSetKeywords(
        dword 		tag, 			/* ID# of note */
        VMFileHandle 		fh,			/* Handle of Ink DB file */
        const char *		text); 			/* Keyword string */);

This message sets an Ink Database note's keywords. The passed string should be null-terminated.

Include: pen.goh

InkNoteSetKeywordsFromTextObject()

void 	InkNoteSetKeywordsFromTextObject(
        dword 		tag, 			/* ID# of note */
        VMFileHandle 		fh,			/* Handle of Ink DB file */
        optr *		text); 			/* Text object */);

This message sets an Ink Database note's keywords by copying them from the passed text object.

Include: pen.goh


Up: GEOS SDK TechDocs | Up | Prev: InkFolderGetNumChildren() ... | Next: InkNoteSetModificationDate() ...