|
|
|
|
|
- Properties specific to pdfAttachment variables
pdfAttachment (Variable type) In french: pdfPièceJointe
The pdfAttachment type is used to define all the advanced characteristics of an attachment in a PDF document. You can define and change the characteristics of this attachment using different WLanguage properties. Thus, it is possible to extract the content of an attachment, add or delete an attachment to a PDF document. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. MyPDF is pdfDocument = "test.pdf" FOR EACH AnAttachment OF MyPDF.Attachment fSaveBuffer(AnAttachment.Name, AnAttachment.Content) END
Properties Properties specific to pdfAttachment variables The following properties can be used to handle a PDF attachment: | | | Property name | Type used | Effect |
---|
Content | Buffer | Content of attachment. | DateCreated | DateTime | Attachment creation date. In previous versions, this property corresponds to "CreationDate". | DateModified | DateTime | Attachment last modification date. In previous versions, this property corresponds to "ModificationDate". | Name | Character string | Name of the attachment. |
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|