|
|
|
|
|
Remark: These functions are also available in prefix syntax ( PDF file functions (prefix syntax)).
WLanguage includes different types of variables to manipulate PDF files:
| | pdfAttachment | The pdfAttachment type is used to define all the advanced characteristics of an attachment in a PDF document. | pdfDocument | The pdfDocument type gets all the characteristics of a PDF file: author, date created, page content, etc. | pdfPage | The pdfPage type is used to define all the advanced characteristics of a page from a PDF document loaded in memory. | pdfParameter | The pdfParameter type defines all the characteristics of the PDF file to be generated. | pdfSignature | The pdfSignature type is used to define the advanced characteristics of the signature that will be applied to a PDF file when signing an existing PDF (via PDFSign). | pdfTextElement | The pdfTextElement type is used to find out all the characteristics of a text element in a PDF page. |
The following functions allow you to manipulate PDF files using these variables:
Remark: The following functions can be used to manipulate PDF files directly:
| | PDFExtractPage | Extracts a page from a PDF file in a variable of type Image. | PDFIsProtected | Checks whether the PDF file requires a password in order to be read. | PDFMerge | Merges several existing PDF files into a single PDF file. The files are merged one after another. The paths of PDF files can be found in an array. | PDFMergeWithPassword | Merges several existing and password-protected PDF files into a single PDF file. | PDFNumberOfPages | Returns the total number of pages found in a PDF file. | PDFPassword | Protects a PDF document with a password. | PDFSign | Applies an approval signature to an existing PDF. | PDFToText | Extracts text from a PDF file. |
Related Examples:
|
Unit examples (WINDEV): PDFDocument type
[ + ] This example shows how to use the pdfDocument WLanguage type. This type is used to handle PDF files by programming. You can: - Retrieve the details of the PDF file (Created, Modified, Author, etc.) - Retrieve the text of the PDF file (page by page and line by line) - List / Add / Delete attachments
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|