poINote GetFont

Gets the font name being used to draw the note in the graphics area.

Syntax

poINote_handle GetFont

Application

HyperView Tcl Query

Description

This command returns the name of the font corresponding to a particular note. The note is drawn in the graphics area using this font name.
Note: The value returned by this command can be used in the SetFont command.

Example

To retrieve the font name of a note whose ID is 2:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetNoteHandle note_handle 2;
set fname [note_handle GetFont]
hwi CloseStack

Errors

Returns an empty list if there is an error.