6.0

Table Of Contents
55
Work with Styles
Work with Strings
Margin
procedure Offsets text within a series of commands, relative to the original top left
position of the object. Margin also sets the horizontal position to be
used when crlf commands are encountered. All text-rendering
functions that make use of margins use this setting.
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.
ShowLeftRight
procedure Displays a string of characters, in inches, using a specified width.
Name: Type: Description:
SetStyle
procedure Sets the style to be used for all subsequent commands. The specified
style must already exist in the document.
SetStyleExt
procedure Select an existing style and set the size, color, style property, or font
ratio for its font. This eliminates the need to create several styles that
use the same font. setstyleext() does not support bold, italic, or
underline styles with double-byte character sets.
Name: Type: Description:
+
operator Either concatenates two or more strings or adds two numerical
expressions, depending on its context.
Find
function Checks for the presence of a string within a rectangular region of the
current data page. If the specified string is found, the function returns
true. This allows you to look for strings within a more general area,
rather than at some precise location.
IsNumber
function Tests a string and returns true if the string is a measure or integer value.
Left
function Extracts the specified leftmost characters of a string.
Length
function Returns the length of a string, or the number of elements in an array.
LowerCase
function Convert a string to all lower case characters.
Name: Type: Description: