DTWAIN_SetPDFAuthor

DTWAIN_SetPDFAuthorA

DTWAIN_SetPDFAuthorW

Top  Previous  Next

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

TRUE if successful, FALSE otherwise.  If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.

 

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