poINote GetWidth

Gets the width of the bounding box of the note.

Syntax

note_handle GetWidth

Application

HyperView Tcl Query

Description

This command retrieves the width of the bounding box of the note. The bounding box excludes the leader line of the note.

Example

To get the width of the note with ID 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 wid [note_handle GetWidth]

hwi CloseStack

Errors

None.