DTWAIN_SetPDFTitle

Top  Previous  Next

The following function is available only with DTWAIN / PDF.

 

The DTWAIN_SetPDFTitle sets the 'Title' attribute of an acquired PDF file.

 

DTWAIN_BOOL DTWAIN_SetPDFTitle (

DTWAIN_SOURCE

Source,

LPCTSTR

lpszTitle );

 

Parameters

Source

An open TWAIN Source.

 

lpszTitle

Pointer to PDF "Title" string

 

 

Return Values

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

 

Character specific version

ANSI version:

DTWAIN_SetPDFTitleA

Unicode version:

DTWAIN_SetPDFTitleW

 

Comments

The DTWAIN_SetPDFTitle sets the "Title" attribute of a PDF file.  To acquire images to PDF files, DTWAIN_AcquireFile and DTWAIN_AcquireFileEx are used, along with the DTWAIN_PDF or DTWAIN_PDFMULTI file options.   The default setting for the "Title" 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