Location: PHPKode > scripts > RTF Generator classes > rtf-generator-classes/getrtf.php
<?php
// Example use
include("class_rtf.php");

$rtf = new rtf("rtf_config.php");
$rtf->setPaperSize(5);
$rtf->setPaperOrientation(1);
$rtf->setDefaultFontFace(0);
$rtf->setDefaultFontSize(24);
$rtf->setAuthor("noginn");
$rtf->setOperator("hide@address.com");
$rtf->setTitle("RTF Document");
$rtf->addColour("#000000");
$rtf->addText($_POST['text']);
$rtf->getDocument();
?>
Return current item: RTF Generator classes