7.6

Table Of Contents
Colour array that can be expressed using one, three or four values ranging from 0 to 255. For Grayscale, a single value
between 0 and 100 is used in the form [K], representing percentage of gray (100 is black, 0 is white). For the RGB model,
three values are used in the form [R, G, B]. For the CMYK model, four values are used in the form [C, M, Y, K].
fontratio
Integer value representing the percentage by which to shrink or stretch the font spacing. This value adjusts both the width of
each glyph and the spacing between glyphs. This is in contrast to kerning, which modifies the spacing between characters with-
out modifying the width of characters.
Example
setstyleext(&Style2.bi, 25, [100], 100)
Show / ShowCenter / ShowRight (procedure)
These three commands are used to display simple text on the document. They are identical in all aspects, except in the way
they behave relative to the current margin settings: show uses the margin as a starting point to extend the string to the right;
showright uses the margin as the ending point of the string; and showcenter extends the string equally on both sides of
the margin. These commands are equivalent to print, echo or write commands in other scripting languages.
Syntax
show( text )
showcenter( text )
showright( text )
Argument
text
String value to be displayed.
Code Sample Example
This example illustrates the difference between all three variations of using the SHOW command.
Example
margin(3,1)
showright('This line is to the left of the margin')
crlf()
showcenter('This line is centered on the margin')
crlf()
show('This line is to the right of the margin')
ShowBarCode (procedure)
Note: This PressTalk command is deprecated. Use instead the barcode-specific commands.
Displays a specified string as a barcode.
©2010 Objectif Lune Inc - 333 -