setlinespacing (not supported in Axiell Collections)

Syntax

stat = setlinespacing (value, unit_code)

Arguments

unit_code: integer

value: numeric

Platform

Windows (not supported in Axiell Collections and RunAdapl)

Meaning

The function setlinespacing sets the distance between two lines, including the line itself. (The space occupied by a line of text, including white space until the next line of text.) Stat = 0 means the operation was successful, stat <> 0 means the operation was unsuccessful.

The following unit_codes can be used:

Unit_code

Unit

0

mm

1

cm

2

inch

3

points

Example

setlinespacing (2,1).

Result

The lines are printed with a distance of two centimeters between them.