7.5

Table Of Contents
Integer value specifying whether the object has its Snap to previous property set, and if so, the position of that snapping point.
If you set the Snap to previous property, you can use the top and left arguments to specify, respectively, a vertical and hor-
izontal offset for the snapping point.
l 0 = do not set the Snap to previous snapping point
l 1 = top left
l 2 = top middle
l 3= top right
l 4= middle left
l 5 = middle middle
l 6= middle right
l 7 = bottom left
l 8 = bottom middle
l 9 = bottom right
Code Sample Example
The following creates a rectangle object (2 inches wide by 3 inches high), rotates it 45 degrees, and sets its Snap to previous
snapping point at the top left of the object with a vertical offset of 1 inch and a horizontal offset of 1.5 inches.
object $Box2(1.0,1.5,2.0,3.0,true,45.0,false,1)
setstyle(&Style1)
MoveTo(0,0)
SetLineWidth(0.0070)
SetStrokeColor([0,0,0,100])
SetFillColor([0,0,0,0])
LineTo(&width,0.0)
LineTo(&width,&height)
LineTo(0.0,&height)
LineTo(0.0,0.0)
ClosePath()
Stroke()
endobject()
Bar Codes
ShowBarCode (procedure)
Note: This PressTalk command is deprecated. Use instead the barcode-specific commands.
Displays a specified string as a barcode.
Syntax
showbarcode( string )
Arguments
string
Value of type string to display as a barcode.
©2010 Objectif Lune Inc - 590 -