DTWAIN_SetPDFProducer

DTWAIN_SetPDFProducerA

DTWAIN_SetPDFProducerW

Top  Previous  Next

The DTWAIN_SetPDFProducer sets the 'Producer' attribute of an acquired PDF file.

 

DTWAIN_BOOL DTWAIN_SetPDFProducer (

DTWAIN_SOURCE

Source,

LPCTSTR

lpszProducer );

 

Parameters

Source

An open TWAIN Source.

 

lpszProducer

Pointer to PDF "Producer" 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_SetPDFProducerA

Unicode version:

DTWAIN_SetPDFProducerW

 

Comments

As of version DTWAIN 4, the DTWAIN_SetPDFProducer function does nothing.  The PDF Producer field is always the Dynarithmic Software version string.  The application should use DTWAIN_SetPDFAuthor to set the Author field in the PDF document.

 

TWAIN State Transitions

The Source must be in State 4. or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function