6.0

Table Of Contents
144
Language Reference
4
Syntax
setpdfbookmark( name )
Arguments
name — String value specifying the name of the bookmark that appears in the PDF.
Code Sample Examples
These examples illustrate setpdfbookmark().
Example 1
setpdfbookmark('Table of Contents')
Example 2
setpdfbookmark( @(10,23,45) )
Example 3
setpdfbookmark( @(10,23,45) + '|' + @(11,23,45) )
SetStrokeColor (procedure)
Sets the colour of the pen used for drawing lines, boxes and other objects.
Syntax
setstrokecolor( colour )
Argument
colour — CMYK colour array, expressed in the form [C, M, Y, K]
Code Sample Example
This example draws two outlined rectangles, one with a yellow border and the other with a blue border.
Example
setstrokecolor([0,0,100,0])
rectstroke(0,0,1,1)
setstrokecolor([50,50,0,50])
rectstroke(1,1,1,1)