7.5

Table Of Contents
String value specifying the fax number.
Code Sample Example
setfaxnumber( '(514)276-7633' )
SetFillColor (procedure)
Sets the colour used to paint the insides of any closed shapes when issuing a fill or a strokeandfill command.
Syntax
setfillcolor( colour )
Argument
colour
Colour array that can be expressed expressed using one, three or four values ranging from 0 to 255. For Grayscale, a single
value is used in the form [K]. 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].
Code Sample Example
This example draws three filled rectangles.
Example
setfillcolor([255]) %Sets fill colour to black using the Grayscale model
rectfill(1, 1, 1, 1) %Draws a black square
setfillcolor([125,0,0]) %Sets fill colour to medium red using the RGB model
rectfill(1, 1, 1, 1) %Draws a medium red square
setfillcolor([0,0,25,0]) %Sets fill colour to light yellow using the CMYK model
rectfill(0, 0, 1, 1) %Draws a light yellow square
SetImageIndex (procedure)
Associates a data value with a PlanetPress Search index term defined using the DefineImageIndex() command. Plan-
etPress Image uses this information when it generates the .PDI file it creates for each PDF file it creates.
This function has no effect when the output of the document is not a PDFfile generated through PlanetPress Image.
Syntax
setimageindex( name, data )
©2010 Objectif Lune Inc - 446 -