Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line PDF Text Extraction

Scroll Prev Top Next More

Extract Text Command Line Format

 

win2pdfd.exe extracttext "sourcefile" "destfile" formatting

 

Extract text from “sourcefile”, and save to text file “destfile”. If “formatting” is “1”, the destination text file is formatted similarly to the PDF. If “formatting” is “0”, the text file is unformatted.

 

Any file names that contain spaces must be enclosed with quotation marks. The "sourcefile" 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.