*Position() - HyperView

Specifies the location of a note in HyperView in screen position or model coordinates.

Syntax

*Position (XPct, YPct, ZPct)

Application

HyperView

Inputs

XPct
Position of the note in the window. If Position type is Screen, then note's position is defined as the percentage of the horizontal distance across the window, expressed as fraction less than 1.0. If Position type is Coordinates, the note's position is defined as the x-coordinate of the note in terms of model coordinate space.
YPct
Position of the note in the window. If Position type is Screen, then note's position is defined as the percentage of the vertical distance down the window, expressed as a fraction less than 1.0. If Position type is Coordinates, the note's position is defined as the y-coordinate of the note in terms of model coordinate space.
ZPct
Used only when the Position type is Coordinates. The note's position is defined as the z-coordinate of the note in terms of model coordinate space.

Context

*BeginGraphic()

*BeginNote()

Example

*BeginGraphic()
• • •
   *BeginNote(On, "Note 1")
       *Transparent(Off)
       *Attach(Element)
       *Position(0.436606, 0.403274)
       *Text("Note 1")
       *Color(1)
       *BorderWidth(1)
       *NoteAlignment(Left)
       *ElemAttachment(0, 2, 12579)
   *EndNote()
• • •
*EndGraphic()

Comments

The arguments for this statement are different than those for the *Position() - notes and legends statements used in the plot window. In a plot window, the position of a note is determined by X and Y coordinates. The location of a note in the animation window is defined as a percentage of the distance down and across the window.