
win2pdfd.exe extracttext "sourcefile" "destfile" formatting
win2pdfd.exe extracttext "sourcefile" "destfile" formatting pagenum
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.
If the pagenum is specified, only text from the specified page will be extracted.
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.