DTWAIN_SetPDFKeywords

Top  Previous  Next

The following function is available only with DTWAIN / PDF.

 

The DTWAIN_SetPDFKeywords sets the 'Keywords' attribute of an acquired PDF file.

 

DTWAIN_BOOL DTWAIN_SetPDFKeywords (

DTWAIN_SOURCE

Source,

LPCTSTR

lpszKeywords );

 

Parameters

Source

An open TWAIN Source.

 

lpszKeywords

Pointer to PDF "Keywords" string

 

 

Return Values

The return value is TRUE if successful.  Otherwise FALSE is returned.

 

Character specific version

ANSI version:

DTWAIN_SetPDFKeywordsA

Unicode version:

DTWAIN_SetPDFKeywordsW

 

Comments

The DTWAIN_SetPDFKeywords sets the "Keywords" attribute of a PDF file.  To acquire images to PDF files, DTWAIN_AcquireFile and DTWAIN_AcquireFileEx are used, along with the DTWAIN_PDF or DTWAIN_PDFMULTI file options.   The default setting for the "Keywords" attribute in the PDF file is "None".

 

TWAIN State Transitions

The Source must be in State 4. or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

PDF File Options