SL(3)

NAME
setleading

SYNOPSIS
#include <panda.h>

void setleading(pdf *, double leading);

DESCRIPTION
The function setleading sets the text leading space, which is the amount of extra space between lines of text in a text box. The leading, once set, is 'sticky' and therefore apply to all text boxes created after the leading is set. You will therefore need to change the leading back (possibly to the default) if you no longer want to draw with that leading.

EXAMPLE
Simply use:
    #include <panda.h>
    pdf *document;
    document = openpdf("filename", "w");
    setleading(document, 42);

AUTHOR
Panda is under development by Michael Still (mikal@stillhq.com). All code is Copyright Michael Still 2000, and is released under the GPL. Code submissions are welcomed. Contact Michael at the address above if you have something you would like to contribute.

BUGS
There are no known bugs in Panda. If you find one, please contact mikal@stillhq.com and let me know.

VERSION
This information relates to version 0.2 of Panda