Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF Delete Bookmarks

Scroll Prev Top Next More

PDF Delete Bookmarks Command Line Format


win2pdfd.exe deletebookmarks "sourcepdf" "destpdf"


Deletes all PDF bookmarks from the file specified by "sourcepdf", and saves the modified PDF to "destpdf". If "sourcepdf" and "destpdf" are the same file, the file is modified in place.


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. Contact us for a time limited evaluation license.


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