DTWAIN_SetPDFAuthor

Top  Previous  Next

The following function is available only with DTWAIN / PDF.

 

The DTWAIN_SetPDFAuthor sets the 'Author' attribute of an acquired PDF file.

 

DTWAIN_BOOL DTWAIN_SetPDFAuthor (

DTWAIN_SOURCE

Source,

LPCTSTR

lpszAuthor );

 

Parameters

Source

An open TWAIN Source.

 

lpszAuthor

Pointer to PDF "Author" string

 

 

Return Values

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

 

Character specific version

ANSI version:

DTWAIN_SetPDFAuthorA

Unicode version:

DTWAIN_SetPDFAuthorW

 

Comments

The DTWAIN_SetPDFAuthor sets the "Author" attribute of a PDF file.  The default setting for the "Author" 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