6.0

Table Of Contents
142
Language Reference
4
Arguments
stylename — The name of the style. The name of the style must be preceded by an ampersand. You can set
the bold, italic, or bold italic property of the style by appending .b, .i, or .bi respectively to the name of the
style.
Note: The ability to append .b, .i, or .bi to style names that have double-byte character sets is not
supported.
fontsize uses — Measure value representing the point size for the font. A value of -1 use the default font
size of the style specified by stylename.
styleproperty — Integer value representing the style property for the font: 1=Underline. A value of -1 use
the default font size of the style specified by stylename.
fontcolor — CMYK color array, expressed in the form [C, M, Y, K]. A value of -1 use the default font size of
the style specified by stylename.
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 without modifying the width of characters. A value of -1
use the default font size of the style specified by stylename.
SetImageIndex (procedure)
Associates a data value with a PlanetPress Search index term defined using the DefineImageIndex()
command. PlanetPress Image uses this information when it generates the .PDI file it creates for each PDF
file it creates.
Syntax
setimageindex( name, data )
Arguments
name — String value specifying the name of the index term with which you want to associate a data
value.
data — String value specifying the data value you want to associate with the index term.
Code Sample Examples
These examples illustrate setimageindex().
Example 1
setimageindex( 'PONumber', '2005')