SetPDFExtractVariables can set the public variables. GetVars is an alias of getPDFExtractVariables GetPDFExtractVariables can return an array of variables. There are four other methods that deal with setting and getting the public variables. The methods will not work unless they know the location of the original PDF document. These four main methods can be called with or without arguments. Printed to STDOUT as a PDF web document with servePDFExtract.Ĭached and served for a faster PDF web document service with fastServePDFExtract. With PDF::Extract a new PDF document can be:-Īssigned to a scalar variable with getPDFExtract. PDF Extract is a group of methods that allow the user to quickly grab pages as a new PDF document from a pre-existing PDF document. $i while ( $pdf->savePDFExtract( PDFPages=>$i ) ) DESCRIPTION $pdf=new PDF::Extract( PDFDoc=>"test.pdf") # Extract and save, in the current directory, all the pages in a pdf document Print "Content-Type text/plain\n\n", $pdf->getVars("PDFExtract") $pdf->getPDFExtract( PDFPages=>$PDFPages ) $pdf = new PDF::Extract( PDFDoc=>'C:/my.pdf' ) PDF::Extract - Extracting sub PDF documents from a multi page PDF document SYNOPSIS use PDF::Extract PDFDebug (set for method call duration only).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |