Download Script Reference Manual

Transcript
Name
Description
Read Only?
Frozen
‘On’ or ‘Off’. If ’On’ the user will not be able to move the
cursor with the mouse
No
Hidden
Cursor is hidden
No
Label
Cursor label displayed at base
No
LineStyle
Style of line used for crosshair. Comma delimited string of
numbers representing mark-space values. E.g. ‘1,1’ defines
short evenly spaced dots, ‘3,1,1,1’ defines a dotdash style
No
OldStepMethod
‘On’ or ‘Off’. Selects method of choosing the position of the
cursor when stepped to a new curve using the TAB key.
No
Style
Style of crosshair. Possible values: ‘Crosshair’ or ‘Cursor’.
‘Crosshair’ means the object is displayed as a crosshair with
a width and height that extends to cover the whole grid.
‘Cursor’ means that the object is a small bitmap representing a cross.
No
X1
X data value of crosshair position
No
Y1
Y data value of crosshair position. The value can be written
but this can only affects nonmonotonic curves where there
are multiple y crossings at a given x value.
No
CrosshairDimension
Object used to display the dimensions and positions of cursors. There are two types, namely
horizontal and vertical.
Name
Description
Read Only?
Curve1
ID of curve attached to crosshair 1
Yes
Curve2
ID of curve attached to crosshair 2
Yes
Graph
ID of parent graph
Yes
ID
ID of this object
Yes
Type
Type of object - always ‘CrosshairDimension’
Yes
Vertical
0 = Horizontal dimension, 1 = Vertical dimension
Yes
XDiff
= X2-X1
Yes
YDiff
= Y2-Y1
Yes
Crosshair1
ID of crosshair 1
No
Crosshair2
ID of crosshair 2
No
Extent
Value used to define space occupied by dimension as a proportion of font size. For horizontal dimensions this is the
vertical space as a proportion of font height and for vertical
dimensions this is horizontal space as a proprtion of average
font width
No
Font
Font used to display labels. Can either be the name of
a font object or a font spec as returned by GetFontSpec
(page 177).
No
Hidden
Dimension is hidden
No
573
SIMetrix/SIMPLIS Script Reference Manual