#include “BlackIceDEVMODE.h”
BOOL SetPdfAuthor (BlackIceDEVMODE* pDevMode, LPTSTR pAuthor);
Description
Sets the author of the PDF document. The maximum number of characters in the author is (MAX_AUTHOR_LNG - 1). The MAX_AUTHOR_LNG is declared in DEVMODE.h. If the length of the author is too large, the function returns FALSE.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
LPTSTR pAuthor - author of the PDF document
Return value
TRUE on success, otherwise FALSE.
Programming Notes
None
Code Example
None