DTWAIN_SetPDFCreator

Top  Previous  Next

The following function is available only with DTWAIN / PDF.

 

The DTWAIN_SetPDFCreator sets the 'Creator' attribute of an acquired PDF file.

 

DTWAIN_BOOL DTWAIN_SetPDFCreator (

DTWAIN_SOURCE

Source,

LPCTSTR

lpszCreator );

 

Parameters

Source

An open TWAIN Source.

 

lpszCreator

Pointer to PDF "Creator" string

 

 

Return Values

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

 

Character specific version

ANSI version:

DTWAIN_SetPDFCreatorA

Unicode version:

DTWAIN_SetPDFCreatorW

 

Comments

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