Syntax 1: For PDFAttachment object
Description
Removes all the attachments in a PDF document.
Applies to
PDFAttachment object in Objects and Controls
Syntax
|
1 |
long RemoveAll() |
Return value
Long. Returns 1 if succeeds and returns -1 if an error occurs. For
the full list of error codes, see Error
Codes.
Usage
Call the function if you want to remove all the attachments in a
PDF document.
Examples
This example removes all the attachments in the PDF
document.
|
1 2 3 4 5 6 |
lpdf_doc = create PDFdocument lpdf_attach = create PDFattachment lpdf_attach.addfolder ("D:image",true) lpdf_doc.attachment = lpdf_attach ll_return = lpdf_attach.removeall( ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest