PDF::CreateSimple

PDF::CreateSimple Perl module will let you create simple PDF files using a set of eary to use function.
Download

PDF::CreateSimple Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Brunelle
  • Publisher web site:
  • http://search.cpan.org/~evanzs/PDF-CreateSimple-1-1/CreateSimple/CreateSimple.pm

PDF::CreateSimple Tags


PDF::CreateSimple Description

PDF::CreateSimple Perl module will let you create simple PDF files using a set of eary to use function. PDF::CreateSimple Perl module will let you create simple PDF files using a set of eary to use function. You can either create a file from scratch or start using an already existing file.SYNOPSIS use PDF::CreateSimple; my $pdfFile = PDF::CreateSimple->new($pdfPath); #----------------------------------------------------------------------------- # Add a new page #----------------------------------------------------------------------------- $pdfFile->addNewPage; #----------------------------------------------------------------------------- # Write Text #----------------------------------------------------------------------------- $pdfFile->drawText('See what it can do!','Verdana',12,400,200,'cyan'); #----------------------------------------------------------------------------- # Create Straight and Curved Lines #----------------------------------------------------------------------------- $pdfFile->drawLine(0,0,50,50,1,'black'); $pdfFile->drawCurve(0,0,50,50,100,50,1,'olive'); #----------------------------------------------------------------------------- # Create Hollow Geometric Figures #----------------------------------------------------------------------------- $pdfFile->drawRectangle(0,0,50,50,2,'blue'); $pdfFile->drawPolygon(,2,'orange'); #----------------------------------------------------------------------------- # Create Filled Geometric Figures #----------------------------------------------------------------------------- $pdfFile->drawCircle(100,100,30,3,'black','green'); $pdfFile->drawSquare(150,100,30,1,'olive','red'); #----------------------------------------------------------------------------- # Import Images (png,pnm,tiff,gif,jpg) and other PDF Files #----------------------------------------------------------------------------- $pdfFile->drawImage('some_img.jpg',150,150,1.75); $pdfFile->drawImage('some_other_img.jpg',350,150,200,200); $pdfFile->importPage('source_pdf'); #----------------------------------------------------------------------------- # Save And close #----------------------------------------------------------------------------- $pdfFile->closeFile; Requirements: · Perl


PDF::CreateSimple Related Software