DTWAIN_SetPDFProducer

Top  Previous  Next

The following function is available only with DTWAIN / PDF.

 

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

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

 

Character specific version

ANSI version:

DTWAIN_SetPDFProducerA

Unicode version:

DTWAIN_SetPDFProducerW

 

Comments

As of version DTWAIN 2.1, 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

 

 

See Also

PDF File Options