PHP Classes

File: examples/example.php

Recommend this page to a friend!
  Classes of Eric Jumba   Docverter   examples/example.php   Download  
File: examples/example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Docverter
Convert files between different document formats
Author: By
Last change:
Date: 2 months ago
Size: 200 bytes
 

Contents

Class file image Download
<?php
use RTF2PDF\RTF2PDFConverter;

$rtfContent = file_get_contents('example.rtf');
$pdfFilePath = 'output.pdf';

$converter = new RTF2PDFConverter($rtfContent, $pdfFilePath);
$converter->convert();