SetPdfSubject

 

#include “BlackIceDEVMODE.h”

 

BOOL            SetPdfSubject (BlackIceDEVMODE* pDevMode, LPTSTR pSubject);

Description

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

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

LPTSTR pSubject                                        - subject of the PDF document

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None