Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF Delete All File Attachments

Scroll Prev Top Next More

PDF Delete All File Attachments Command Line Format win2pdf-pro-feature

 

win2pdfd.exe deleteallattachments "sourcepdf" "destpdf"

 

Deletes all file attachments from the "sourcepdf", and saves them to the PDF specified by "destpdf".

 

Any file names that contain spaces must be enclosed with quotation marks. The "sourcepdf" can be a local file path, or an web address (URL) to an existing PDF.

 

This feature requires a licensed version of Win2PDF Pro. Contact us for a time limited evaluation license.

 

Returns 0 on success, and a Windows system error code on failure.