-pdftitle |
Top Previous Next |
-pdftitle TitleString
The -pdftitle option sets the Title field in a PDF file to TitleString. This option is only available when acquiring to PDF files. By default, the Title string in the PDF file is "None".
If TitleString has embedded spaces, the TitleString must be surrounded with double quotes:
Example:
DTWAIN_TwainSave("-f test.pdf -F pdf -pdfauthor \"My Title String\" -pdftitle \"My Title\"");
Acquires to a PDF file called test.pdf, sets the PDF author string in the file to "My Author String" and the title to "My Title"
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 Title field is set to "None".
|