-pdfkeywords

Top  Previous  Next

-pdfkeywords KeyString

 

The -pdfkeywords option sets the Keywords field in a PDF file to KeyString.  This option is only available when acquiring to PDF files.  By default, the Keywords string in the PDF file is "None".

 

If KeyString has embedded spaces, the KeyString must be surrounded with double quotes:

 

Example:

 

DTWAIN_TwainSave("-F pdf -pdfkeywords \""My Keywords String\"");

 

Acquires to a PDF file and sets the PDF Keywords string in the file to "My Keywords String".

 

Note that in the example above, C/C++ escape sequences are used to embed double quotes in the string.  Please consult your language as to the proper way to insert double quotes within quoted strings.

 

Default Setting:

The Keywords field is set to "None".