SetPdfTitle

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetPdfTitle (BlackIceDEVMODE* pDevMode, LPTSTR pTitle);

Description

Sets the title of the PDF document. The maximum number of characters in the title is (MAX_TITLE_LNG - 1). The MAX_TITLE_LNG is declared in DEVMODE.h. If the length of the title is too large, the function returns FALSE.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pTitle                                              - title of the PDF document

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None