poINote GetBoundingBox

Gets the bounding box of the note.

Syntax

note_handle GetBoundingBox

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. This command returns four values: xmin, ymin, xmax, and ymax.

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 bbox [note_handle GetBoundingBox]

hwi CloseStack

Errors

None.