PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of pdfAttachment variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
pdfAttachment (Type of variable)
In french: pdfPièceJointe
The pdfAttachment type is used to define all the advanced characteristics of an attachment in a PDF document. The characteristics of this attachment can be defined and modified using different WLanguage properties.
Thus, it is possible to extract the content of an attachment, add or delete an attachment to a PDF document.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Versions 250064 and later
Versions 25 and later
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 25
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 250064
Versions 25 and later
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 25
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
Versions 25 and later
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
New in version 25
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
Android Widget From version 25 Update 1 (250064), this type of variable is available in Android widget mode.
Android From version 25 Update 1 (250064), this type of variable is available for Android applications.
WINDEVLinux From version 25 Update 1 (250064), this type of variable is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this type of variable is available for WEBDEV sites in Linux.
Example
MyPDF is pdfDocument = "test.pdf"
FOR EACH AnAttachment OF MyPDF.Attachment
fSaveBuffer(AnAttachment.Name, AnAttachment.Content)
END
Remarks

Properties specific to the description of pdfAttachment variables

The following properties can be used to handle a PDF attachment:
Property nameType usedEffect
ContentBufferContent of attachment.
CreationDateDateTimeAttachment creation date.
ModificationDateDateTimeAttachment last modification date.
Name Character stringName of the attachment.
Related Examples:
PDFDocument type 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
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment