poINote SetPosition

Sets the note position.

Syntax

poINote_handle SetPosition x_pos y_pos

Application

HyperView Tcl Modify

Description

This command sets the note position.

Inputs

x_pos
The x coordinate on the screen; value between 0 (left) and 1 (right).
y_pos
The y coordinate on the screen; value between 0 (top) and 1 (bottom).

Example

To position a note at the top left corner of the modeling window:
poINote_handle SetPosition 0 0;
poiPost_handle Draw;
To position a note at the center of the modeling window:
poINote_handle SetPosition 0.5 0.5;
poiPost_handle Draw;

Errors

Returns 0 if successful, otherwise an error code.