示例#1
0
<?php

require 'rpdf.php';
$pdf = new RPDF();
$pdf->AddPage();
$pdf->SetFont('Arial', '', 40);
$pdf->TextWithRotation(50, 65, 'Voila', 45, -45);
$pdf->SetFontSize(30);
$pdf->TextWithDirection(110, 50, 'salut !', 'L');
$pdf->TextWithDirection(110, 50, 'wf3 !', 'U');
$pdf->TextWithDirection(110, 50, 'ecole !', 'R');
$pdf->TextWithDirection(110, 50, 'du web !', 'D');
$pdf->Output();
示例#2
0
文件: ex.php 项目: rohmad-st/fpdf
<?php

require 'rpdf.php';
$pdf = new RPDF();
$pdf->AddPage();
$pdf->SetFont('Arial', '', 40);
$pdf->TextWithRotation(50, 65, 'Hello', 45, -45);
$pdf->SetFontSize(30);
$pdf->TextWithDirection(110, 50, 'world!', 'L');
$pdf->TextWithDirection(110, 50, 'world!', 'U');
$pdf->TextWithDirection(110, 50, 'world!', 'R');
$pdf->TextWithDirection(110, 50, 'world!', 'D');
$pdf->Output();