Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

ExtractAllAttachments – PB Docs 2022 – PowerBuilder Library

ExtractAllAttachments – PB Docs 2022

ExtractAllAttachments

PowerScript function

Description

Extract all attachments from the PDF document to a folder.

Applies to

PDFDocExtractor object in Objects and Controls

Syntax

Argument

Description

destFilePath

The path to save the attachment(s). The path will be auto
created if it does not exist.

Return value

Long. Returns 1 if it succeeds and -1 if it fails. For more errors,
see the Error Codes.

Examples

This example extracts all the attachments of “extract.pdf” into the
“D:Save” folder. The folder will be auto created if it does not exist in
the current directory yet:

This example extracts all the attachments of “extract.pdf” and save
into the “file” folder in the same directory. . The folder will be auto
created if it does not exist in the current directory yet:

See also

Close

ExtractAttachmentFile

GetAttachmentList

GetPageCount

GetPageSize

Open


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x