win2pdfd.exe getcontentsearch "sourcepdf" "password" "searchtext"
Search the PDF file specified by "sourcepdf" for the text specified by "searchtext". If the "searchtext" is found in the PDF file, the text immediately following the "searchtext" is printed to standard out (STDOUT).
If the path to "sourcepdf" contains spaces, it must be enclosed with quotation marks.
If the PDF is password protected, the master password should be provided in the "password" parameter. Otherwise, the parameter should be set to ""
The "searchtext" parameter is case sensitive.
Requires a licensed version of Win2PDF version 10.0.100 or above. Contact [email protected] for a time limited evaluation license.
Returns 0 on success, and a Windows system error code on failure.