6.0

Table Of Contents
137
SetAngle (procedure)
This command rotates all subsequent commands by the angle specified. Most commands and objects that
are displayed/printed on the document are affected by the setangle command.
Syntax
setangle( angle )
Argument
angle — Measure value specifying the angle of rotation in degrees for all subsequent commands. Use a
positive value for counter-clockwise motion and a negative value for clockwise motion. This value is
relative to the current angle, not absolute.
Code Sample Example
This example illustrates setangle().
Note: setangle() sets a rotation for all subsequent commands. Consequently, setangle commands are
cumulative. Therefore, to restore the previous angle of rotation, you must issue a setangle command that
negates whatever rotation applied.
Example
setangle(45.00) %Rotate subsequent commands by 45 degrees
show('Some text') %Display at a 45 degree angle
setangle(45.00) %Rotate subsequent commands by 45 degrees
show('Some text') %Display at a 90 degree angle
setangle(-90) %Cancel all rotations
SetBodyText (procedure)
Defines the text that appears as the body of an email message sent by PlanetPress Image.
Syntax
setbodytext( bodytext )
Arguments
bodytext — String value specifying the text to use as the body of the email message.